diff options
-rw-r--r-- | application/controllers/file.php | 2 | ||||
-rw-r--r-- | data/paste.css | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/application/controllers/file.php b/application/controllers/file.php index 3b9a8f9b4..a9e4406bc 100644 --- a/application/controllers/file.php +++ b/application/controllers/file.php @@ -165,7 +165,7 @@ class File extends CI_Controller { } else { echo '<td class="numbers"><pre>'; // generate line numbers (links) - passthru('perl -ne \'print "<a href=\"#n$.\" class=\"no\" id=\"n$.\">$.</a>\n"\' '.escapeshellarg($file)); + passthru('perl -ne \'print "<a href=\"#n$.\" id=\"n$.\">$.</a>\n"\' '.escapeshellarg($file)); echo '</pre></td><td class="code">'."\n"; passthru('pygmentize -F codetagify -O encoding=utf-8 -l '.escapeshellarg($mode).' -f html '.escapeshellarg($file)); } diff --git a/data/paste.css b/data/paste.css index 6a9e60eda..c8f165a75 100644 --- a/data/paste.css +++ b/data/paste.css @@ -9,11 +9,13 @@ body { padding-right:4px; left:0; color: gray; + text-decoration: none; } .numbers a:target { background: yellow; } + div#highlight_line { background: yellow; display: inline; |