Convert everything to safe HTML
Summary: Sgrepped for `"=~/</"` and manually changed every HTML. Test Plan: This doesn't work yet but it is hopefully one of the last diffs before Phabricator will be undoubtedly HTML safe. Reviewers: epriestley CC: aran, Korvin Maniphest Tasks: T2432 Differential Revision: https://secure.phabricator.com/D4927
This commit is contained in:
@@ -437,10 +437,10 @@ final class HeraldTranscriptController extends HeraldController {
|
||||
|
||||
$panel = new AphrontPanelView();
|
||||
$panel->setHeader('Rule Details');
|
||||
$panel->appendChild(
|
||||
'<ul class="herald-explain-list">'.
|
||||
implode("\n", $rule_markup).
|
||||
'</ul>');
|
||||
$panel->appendChild(phutil_tag(
|
||||
'ul',
|
||||
array('class' => 'herald-explain-list'),
|
||||
$rule_markup));
|
||||
|
||||
return $panel;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user