diff options
author | Andreas Gohr <andi@splitbrain.org> | 2006-03-27 15:37:38 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2006-03-27 15:37:38 +0200 |
commit | 45d0f252c9037d9a5bca270e9186742833af72e4 (patch) | |
tree | 6ea3392e0419ebdf41335b55115623f815a41bf4 /inc/geshi/xml.php | |
parent | aee14112968f933e3b36ff56f1ea55a54970df65 (diff) | |
download | rpg-45d0f252c9037d9a5bca270e9186742833af72e4.tar.gz rpg-45d0f252c9037d9a5bca270e9186742833af72e4.tar.bz2 |
GeShi update to 1.0.7.8
darcs-hash:20060327133738-7ad00-d9b2615cc73c0924c25ef6039449ff66ef88aae1.gz
Diffstat (limited to 'inc/geshi/xml.php')
-rw-r--r-- | inc/geshi/xml.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/inc/geshi/xml.php b/inc/geshi/xml.php index 67739381a..b0ab247f9 100644 --- a/inc/geshi/xml.php +++ b/inc/geshi/xml.php @@ -4,10 +4,10 @@ * ------- * Author: Nigel McNie (oracle.shinoda@gmail.com) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.7 - * CVS Revision Version: $Revision: 1.12 $ + * Release Version: 1.0.7.8 + * CVS Revision Version: $Revision: 1.13 $ * Date Started: 2004/09/01 - * Last Modified: $Date: 2006/02/25 00:46:33 $ + * Last Modified: $Date: 2006/03/23 07:31:32 $ * * XML language file for GeSHi. Based on the idea/file by Christian Weiske * @@ -107,14 +107,14 @@ $language_data = array ( GESHI_AFTER => '\\4' ), 1 => array( - GESHI_SEARCH => '(</?[a-z0-9_]*(>)?)', + GESHI_SEARCH => '(<[/?|(\?xml)]?[a-z0-9_]*(\??>)?)', GESHI_REPLACE => '\\1', GESHI_MODIFIERS => 'i', GESHI_BEFORE => '', GESHI_AFTER => '' ), 2 => array( - GESHI_SEARCH => '((/)?>)', + GESHI_SEARCH => '(([/|\?])?>)', GESHI_REPLACE => '\\1', GESHI_MODIFIERS => 'i', GESHI_BEFORE => '', |