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:
@@ -104,12 +104,12 @@ final class PhrictionDiffController
|
||||
$crumbs->setCrumbs(
|
||||
array(
|
||||
'Phriction',
|
||||
phutil_render_tag(
|
||||
phutil_tag(
|
||||
'a',
|
||||
array(
|
||||
'href' => PhrictionDocument::getSlugURI($slug),
|
||||
),
|
||||
phutil_escape_html($current->getTitle())),
|
||||
$current->getTitle()),
|
||||
phutil_render_tag(
|
||||
'a',
|
||||
array(
|
||||
|
||||
Reference in New Issue
Block a user