Changeset View
Changeset View
Standalone View
Standalone View
src/view/layout/PhabricatorSourceCodeView.php
Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Lines | foreach ($this->lines as $line) { | ||||
$content_line = phutil_tag( | $content_line = phutil_tag( | ||||
'span', | 'span', | ||||
array( | array( | ||||
'class' => 'c', | 'class' => 'c', | ||||
), | ), | ||||
pht('...')); | pht('...')); | ||||
} else { | } else { | ||||
$content_number = $line_number; | $content_number = $line_number; | ||||
$content_line = hsprintf("\xE2\x80\x8B%s", $line); | // NOTE: See phabricator-oncopy behavior. | ||||
$content_line = hsprintf("\xE2\x81\xA0%s", $line); | |||||
} | } | ||||
$row_attributes = array(); | $row_attributes = array(); | ||||
if (isset($this->highlights[$line_number])) { | if (isset($this->highlights[$line_number])) { | ||||
$row_attributes['class'] = 'phabricator-source-highlight'; | $row_attributes['class'] = 'phabricator-source-highlight'; | ||||
} | } | ||||
if ($this->canClickHighlight) { | if ($this->canClickHighlight) { | ||||
▲ Show 20 Lines • Show All 58 Lines • Show Last 20 Lines |