Replace some hsprintf() by phutil_tag()
Test Plan: Looked at a diff with inline comment. Reviewers: epriestley Reviewed By: epriestley CC: Korvin, epriestley, aran Differential Revision: https://secure.phabricator.com/D7549
This commit is contained in:
@@ -28,7 +28,7 @@ final class PhabricatorDebugController extends PhabricatorController {
|
||||
$out = ob_get_clean();
|
||||
|
||||
$response = new AphrontWebpageResponse();
|
||||
$response->setContent(hsprintf('<pre>%s</pre>', $out));
|
||||
$response->setContent(phutil_tag('pre', array(), $out));
|
||||
return $response;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user