mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 14:00:56 +01:00
fix ponder escaping issue
Summary: Question titles were not escaped; now they are. Test Plan: Observe the escaping. Reviewers: epriestley Reviewed By: epriestley CC: nh, aran, Korvin Differential Revision: https://secure.phabricator.com/D3490
This commit is contained in:
parent
34dfbdaf44
commit
390dfa210d
1 changed files with 3 additions and 1 deletions
|
@ -46,7 +46,9 @@ final class PonderQuestionDetailView extends AphrontView {
|
|||
|
||||
$panel = id(new AphrontPanelView())
|
||||
->addClass("ponder-panel")
|
||||
->setHeader($this->renderObjectLink().' '.$question->getTitle());
|
||||
->setHeader(
|
||||
$this->renderObjectLink().' '.
|
||||
phutil_escape_html($question->getTitle()));
|
||||
|
||||
$contentview = new PonderPostBodyView();
|
||||
$contentview
|
||||
|
|
Loading…
Reference in a new issue