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:
@@ -278,7 +278,7 @@ abstract class DiffusionController extends PhabricatorController {
|
||||
$thus_far = '';
|
||||
foreach ($path_parts as $path_part) {
|
||||
$thus_far .= $path_part.'/';
|
||||
$path_sections[] = phutil_render_tag(
|
||||
$path_sections[] = phutil_tag(
|
||||
'a',
|
||||
array(
|
||||
'href' => $drequest->generateURI(
|
||||
@@ -286,7 +286,7 @@ abstract class DiffusionController extends PhabricatorController {
|
||||
'path' => $thus_far,
|
||||
) + $uri_params),
|
||||
),
|
||||
phutil_escape_html($path_part));
|
||||
$path_part);
|
||||
}
|
||||
|
||||
$path_sections[] = phutil_escape_html($last);
|
||||
|
||||
Reference in New Issue
Block a user