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:
@@ -47,13 +47,13 @@ final class DiffusionHistoryController extends DiffusionController {
|
||||
$copies_new = true;
|
||||
}
|
||||
|
||||
$button = phutil_render_tag(
|
||||
$button = phutil_tag(
|
||||
'a',
|
||||
array(
|
||||
'class' => 'button small grey',
|
||||
'href' => $request->getRequestURI()->alter('copies', $copies_new),
|
||||
),
|
||||
phutil_escape_html($button_title));
|
||||
$button_title);
|
||||
|
||||
$history_table = new DiffusionHistoryTableView();
|
||||
$history_table->setUser($request->getUser());
|
||||
|
||||
Reference in New Issue
Block a user