diff --git a/src/applications/differential/render/DifferentialChangesetTwoUpRenderer.php b/src/applications/differential/render/DifferentialChangesetTwoUpRenderer.php
index 7a9bb3a1af..91cfbebabd 100644
--- a/src/applications/differential/render/DifferentialChangesetTwoUpRenderer.php
+++ b/src/applications/differential/render/DifferentialChangesetTwoUpRenderer.php
@@ -324,26 +324,29 @@ final class DifferentialChangesetTwoUpRenderer
}
}
}
- $html[] =
+ $html[] = hsprintf(
'
'.
' | '.
- ''.$comment_html.' | '.
+ '%s | '.
' | '.
- ''.$new.' | '.
- '
';
+ '%s | '.
+ '',
+ $comment_html,
+ $new);
}
}
if ($n_num && isset($new_comments[$n_num])) {
foreach ($new_comments[$n_num] as $comment) {
$comment_html = $this->renderInlineComment($comment,
$on_right = true);
- $html[] =
+ $html[] = hsprintf(
''.
' | '.
' | '.
' | '.
- ''.$comment_html.' | '.
- '
';
+ '%s | '.
+ '',
+ $comment_html);
}
}
}
diff --git a/src/applications/differential/view/DifferentialInlineCommentView.php b/src/applications/differential/view/DifferentialInlineCommentView.php
index 0340d3287a..0fa497fa59 100644
--- a/src/applications/differential/view/DifferentialInlineCommentView.php
+++ b/src/applications/differential/view/DifferentialInlineCommentView.php
@@ -175,10 +175,10 @@ final class DifferentialInlineCommentView extends AphrontView {
}
if ($links) {
- $links =
- '';
+ $links = phutil_tag(
+ 'span',
+ array('class' => 'differential-inline-comment-links'),
+ array_interleave(" \xC2\xB7 ", $links));
} else {
$links = null;
}
@@ -217,24 +217,25 @@ final class DifferentialInlineCommentView extends AphrontView {
$author = $handles[$inline->getAuthorPHID()]->getName();
}
- $markup = javelin_render_tag(
+ $markup = javelin_tag(
'div',
array(
'class' => $classes,
'sigil' => $sigil,
'meta' => $metadata,
),
- ''.
- '