summaryrefslogtreecommitdiff
path: root/inc/geshi/smarty.php
diff options
context:
space:
mode:
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_<\|%\\-&"
+ )
+ )
);
?>