Convert phutil_render_tag(X, Y, phutil_escape_html(Z)) to phutil_tag
Summary:
Created with spatch:
lang=diff
- phutil_render_tag
+ phutil_tag
(X, Y,
- phutil_escape_html(
Z
- )
)
Test Plan: Loaded homepage
Reviewers: epriestley
Reviewed By: epriestley
CC: aran, Korvin
Differential Revision: https://secure.phabricator.com/D4501
This commit is contained in:
@@ -29,12 +29,12 @@ final class PhabricatorXHPASTViewTreeController
|
||||
$tree = array();
|
||||
$tree[] =
|
||||
'<li>'.
|
||||
phutil_render_tag(
|
||||
phutil_tag(
|
||||
'span',
|
||||
array(
|
||||
'title' => $title,
|
||||
),
|
||||
phutil_escape_html($name)).
|
||||
$name).
|
||||
'</li>';
|
||||
foreach ($root->getChildren() as $child) {
|
||||
$tree[] = '<ul>'.$this->buildTree($child).'</ul>';
|
||||
|
||||
Reference in New Issue
Block a user