summaryrefslogtreecommitdiff
path: root/inc/geshi/smarty.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2008-03-26 22:17:55 +0100
committerAndreas Gohr <andi@splitbrain.org>2008-03-26 22:17:55 +0100
commitd09ae2055575141a00e67faeadb9bcb3d8285f3f (patch)
tree5f8f372f379b77f8f36805468d4e60fdb8ebc1b5 /inc/geshi/smarty.php
parent3d1f9ec3674462e63f4195dd834603148a7c7b42 (diff)
downloadrpg-d09ae2055575141a00e67faeadb9bcb3d8285f3f.tar.gz
rpg-d09ae2055575141a00e67faeadb9bcb3d8285f3f.tar.bz2
GeSHi update to 1.0.7.21
darcs-hash:20080326211755-7ad00-98c89cb8da99fab17b88222d33a312a020527cdb.gz
Diffstat (limited to 'inc/geshi/smarty.php')
-rw-r--r--inc/geshi/smarty.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/inc/geshi/smarty.php b/inc/geshi/smarty.php
index 5767aa859..02613a0c4 100644
--- a/inc/geshi/smarty.php
+++ b/inc/geshi/smarty.php
@@ -4,7 +4,7 @@
* ----------
* Author: Alan Juden (alan@judenware.org)
* Copyright: (c) 2004 Alan Juden, Nigel McNie (http://qbnz.com/highlighter/)
- * Release Version: 1.0.7.20
+ * Release Version: 1.0.7.21
* Date Started: 2004/07/10
*
* Smarty template language file for GeSHi.
@@ -160,7 +160,13 @@ $language_data = array (
),
'HIGHLIGHT_STRICT_BLOCK' => array(
0 => true
- )
+ ),
+ 'PARSER_CONTROL' => array(
+ 'KEYWORDS' => array(
+ 'DISALLOWED_BEFORE' => "a-zA-Z0-9\$_\|\#;>|^",
+ 'DISALLOWED_AFTER' => "a-zA-Z0-9_<\|%\\-&"
+ )
+ )
);
?>