summaryrefslogtreecommitdiff
path: root/inc/geshi/text.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2006-09-23 12:55:45 +0200
committerAndreas Gohr <andi@splitbrain.org>2006-09-23 12:55:45 +0200
commit364cc9ca5e57febb36f1df23fa3eef8ad048fb49 (patch)
treefe6eac6ff9ec01d644eb0f5d81f4be480d09a7d6 /inc/geshi/text.php
parent8e6cfd4d8687ecdcf3c20b31a34a0f85b1b6d6fb (diff)
downloadrpg-364cc9ca5e57febb36f1df23fa3eef8ad048fb49.tar.gz
rpg-364cc9ca5e57febb36f1df23fa3eef8ad048fb49.tar.bz2
GeSHi upgrade to 1.0.7.14
darcs-hash:20060923105545-7ad00-52ca67905f51cb7d4782ff87276c01164b52daec.gz
Diffstat (limited to 'inc/geshi/text.php')
-rw-r--r--inc/geshi/text.php14
1 files changed, 8 insertions, 6 deletions
diff --git a/inc/geshi/text.php b/inc/geshi/text.php
index 945494e30..5ed9e1b6e 100644
--- a/inc/geshi/text.php
+++ b/inc/geshi/text.php
@@ -4,10 +4,10 @@
* --------
* Author: Sean Hanna (smokingrope@gmail.com)
* Copyright: (c) 2006 Sean Hanna
- * Release Version: 1.0.7.13
- * CVS Revision Version: $Revision: 1.2.2.3 $
+ * Release Version: 1.0.7.14
+ * CVS Revision Version: $Revision: 1.2.2.5 $
* Date Started: 04/23/2006
- * Last Modified: $Date: 2006/07/22 11:30:23 $
+ * Last Modified: $Date: 2006/09/14 09:44:46 $
*
* Standard Text File (No Syntax Highlighting).
*
@@ -75,7 +75,9 @@ $language_data = array (
'SCRIPT_DELIMITERS' => array( ),
'HIGHLIGHT_STRICT_BLOCK' => array( )
);
-$this->set_numbers_highlighting(false);
-$this->set_brackets_highlighting(false);
-$this->disable_highlighting();
+if (is_a($this, 'GeSHi')) {
+ $this->set_numbers_highlighting(false);
+ $this->set_brackets_highlighting(false);
+ $this->disable_highlighting();
+}
?>