summaryrefslogtreecommitdiffstats
path: root/application/controllers/file.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2012-08-16 16:24:14 +0200
committerFlorian Pritz <bluewind@xinu.at>2012-08-16 16:31:32 +0200
commitca012157e0cbdab743a94ece0a77c6c3921070ef (patch)
treec52cfd3a77362b9fbde72bc601394afe6b6adfb4 /application/controllers/file.php
parent71273d9477b88cca86e6724491c1ea337ee96f05 (diff)
remove 'class="no"' from highlit html
No need to repeat that for every line. Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/controllers/file.php')
-rw-r--r--application/controllers/file.php2
1 files changed, 1 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));
}