Restore merge of phutil_tag.
This commit is contained in:
@@ -49,7 +49,7 @@ final class PhrictionHistoryController
|
||||
|
||||
$diff_uri = new PhutilURI('/phriction/diff/'.$document->getID().'/');
|
||||
|
||||
$vs_previous = '<em>'.pht('Created').'</em>';
|
||||
$vs_previous = phutil_tag('em', array(), pht('Created'));
|
||||
if ($content->getVersion() != 1) {
|
||||
$uri = $diff_uri
|
||||
->alter('l', $content->getVersion() - 1)
|
||||
@@ -62,7 +62,7 @@ final class PhrictionHistoryController
|
||||
pht('Show Change'));
|
||||
}
|
||||
|
||||
$vs_head = '<em>'.pht('Current').'</em>';
|
||||
$vs_head = phutil_tag('em', array(), pht('Current'));
|
||||
if ($content->getID() != $document->getContentID()) {
|
||||
$uri = $diff_uri
|
||||
->alter('l', $content->getVersion())
|
||||
@@ -90,7 +90,7 @@ final class PhrictionHistoryController
|
||||
pht('Version %s', $version)),
|
||||
$handles[$content->getAuthorPHID()]->renderLink(),
|
||||
$change_type,
|
||||
phutil_escape_html($content->getDescription()),
|
||||
$content->getDescription(),
|
||||
$vs_previous,
|
||||
$vs_head,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user