1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-27 01:02:42 +01:00

Utilize phutil_render_tag()

Test Plan: Display diff with lint error.

Reviewers: pad, epriestley

Reviewed By: epriestley

CC: aran

Differential Revision: https://secure.phabricator.com/D1428
This commit is contained in:
vrana 2012-01-16 16:42:14 -08:00
parent 5f1438354b
commit 8bed2f4387

View file

@ -56,10 +56,12 @@ final class DifferentialLintFieldSpecification
$line_link = phutil_escape_html($line);
if (isset($path_changesets[$path])) {
$href = '#C'.$path_changesets[$path].'NL'.$line;
$line_link = '<a href="'.phutil_escape_html($href).'">'.
$line_link.
'</a>';
$line_link = phutil_render_tag(
'a',
array(
'href' => '#C'.$path_changesets[$path].'NL'.$line,
),
$line_link);
}
$message_markup[] =
'<li>'.