summaryrefslogtreecommitdiff
path: root/inc/geshi/xml.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2008-06-20 18:06:28 +0200
committerAndreas Gohr <andi@splitbrain.org>2008-06-20 18:06:28 +0200
commitbb62d5fbe1aa438a9e655573ea9d8c8d3183006b (patch)
tree050838041b33d8e8c5a8d4d9c93472ce099b2ed0 /inc/geshi/xml.php
parent715bdf1fe13fba0611cf88311bbc3d7945b4a544 (diff)
downloadrpg-bb62d5fbe1aa438a9e655573ea9d8c8d3183006b.tar.gz
rpg-bb62d5fbe1aa438a9e655573ea9d8c8d3183006b.tar.bz2
GeSHi update to 1.0.7.22
darcs-hash:20080620160628-7ad00-1bfd8f407b5b38c29c7879d67da2ea3dbd0d1816.gz
Diffstat (limited to 'inc/geshi/xml.php')
-rw-r--r--inc/geshi/xml.php12
1 files changed, 7 insertions, 5 deletions
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 => '(&lt;[/?|(\?xml)]?[a-z0-9_\-:]*(\??&gt;)?)',
GESHI_REPLACE => '\\1',
GESHI_MODIFIERS => 'i',
GESHI_BEFORE => '',
GESHI_AFTER => ''
),
- 2 => array(
+ 2 => array(//Tag end markers
GESHI_SEARCH => '(([/|\?])?&gt;)',
GESHI_REPLACE => '\\1',
GESHI_MODIFIERS => 'i',
@@ -140,7 +142,7 @@ $language_data = array (
2 => false,
3 => true
),
- 'TAB_WIDTH' => 4
+ 'TAB_WIDTH' => 2
);
?>