diff options
Diffstat (limited to 'application/controllers')
-rw-r--r-- | application/controllers/file.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application/controllers/file.php b/application/controllers/file.php index 5bd829713..3e1946554 100644 --- a/application/controllers/file.php +++ b/application/controllers/file.php @@ -209,7 +209,7 @@ class File extends CI_Controller { $output .= '<div class="highlight"><pre>'."\n"; ob_start(); - passthru('pygmentize -F codetagify -O encoding=guess,outencoding=utf8 -l '.escapeshellarg($lexer).' -f html '.escapeshellarg($file), $return_value); + passthru('pygmentize -F codetagify -O encoding=guess,outencoding=utf8,stripnl=False -l '.escapeshellarg($lexer).' -f html '.escapeshellarg($file), $return_value); $buf = ob_get_contents(); ob_end_clean(); |