From bb62d5fbe1aa438a9e655573ea9d8c8d3183006b Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Fri, 20 Jun 2008 18:06:28 +0200 Subject: GeSHi update to 1.0.7.22 darcs-hash:20080620160628-7ad00-1bfd8f407b5b38c29c7879d67da2ea3dbd0d1816.gz --- inc/geshi/xml.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'inc/geshi/xml.php') diff --git a/inc/geshi/xml.php b/inc/geshi/xml.php index 3c38f9c02..4b04b40c8 100644 --- a/inc/geshi/xml.php +++ b/inc/geshi/xml.php @@ -4,13 +4,15 @@ * ------- * Author: Nigel McNie (nigel@geshi.org) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.7.21 + * Release Version: 1.0.7.22 * Date Started: 2004/09/01 * * XML language file for GeSHi. Based on the idea/file by Christian Weiske * * CHANGES * ------- + * 2008/05/23 (1.0.7.22) + * - Added description of extra language features (SF#1970248) * 2005/12/28 (1.0.2) * - Removed escape character for strings * 2004/11/27 (1.0.1) @@ -97,21 +99,21 @@ $language_data = array ( 'OBJECT_SPLITTERS' => array( ), 'REGEXPS' => array( - 0 => array( + 0 => array(//attribute names GESHI_SEARCH => '([a-z_\-:]+)(=)', GESHI_REPLACE => '\\1', GESHI_MODIFIERS => 'i', GESHI_BEFORE => '', GESHI_AFTER => '\\2' ), - 1 => array( + 1 => array(//Initial header line GESHI_SEARCH => '(<[/?|(\?xml)]?[a-z0-9_\-:]*(\??>)?)', GESHI_REPLACE => '\\1', GESHI_MODIFIERS => 'i', GESHI_BEFORE => '', GESHI_AFTER => '' ), - 2 => array( + 2 => array(//Tag end markers GESHI_SEARCH => '(([/|\?])?>)', GESHI_REPLACE => '\\1', GESHI_MODIFIERS => 'i', @@ -140,7 +142,7 @@ $language_data = array ( 2 => false, 3 => true ), - 'TAB_WIDTH' => 4 + 'TAB_WIDTH' => 2 ); ?> -- cgit v1.2.3