Fix some easy phutil_render_tag()
Summary: - Grepped for phutil_render_tag(). - Fixed some easy ones. Test Plan: - Browsed around; site didn't seem more broken than it was before. Reviewers: vrana Reviewed By: vrana CC: aran Differential Revision: https://secure.phabricator.com/D4638
This commit is contained in:
@@ -68,16 +68,18 @@ final class PhabricatorInlineSummaryView extends AphrontView {
|
||||
$tail = null;
|
||||
}
|
||||
|
||||
$lines = phutil_escape_html($lines);
|
||||
if ($href) {
|
||||
$lines = phutil_render_tag(
|
||||
$lines = phutil_tag(
|
||||
'a',
|
||||
array(
|
||||
'href' => $href,
|
||||
'target' => $target,
|
||||
'class' => 'num',
|
||||
),
|
||||
$lines.$tail);
|
||||
array(
|
||||
$lines,
|
||||
$tail,
|
||||
));
|
||||
}
|
||||
|
||||
$where = idx($item, 'where');
|
||||
|
||||
Reference in New Issue
Block a user