From a635c931ff8aa79728d93a4835e06a75e8f90be8 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 14 Feb 2012 01:17:10 +0100 Subject: bump geshi to 1.0.8.10 Signed-off-by: Florian Pritz --- application/models/file_mod.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/models/file_mod.php') diff --git a/application/models/file_mod.php b/application/models/file_mod.php index cd9351e74..ee759b18f 100644 --- a/application/models/file_mod.php +++ b/application/models/file_mod.php @@ -304,7 +304,7 @@ class File_mod extends CI_Model { echo ''."\n"; $this->load->library('geshi'); $this->geshi->initialize(array('set_language' => $mode, 'set_source' => file_get_contents($file), 'enable_classes' => 'true')); - echo $this->geshi->output(); + echo $this->geshi->parse_code(); } $cached = ob_get_contents(); ob_end_clean(); -- cgit v1.2.3-24-g4f1b