Update of /cvsroot/geshi/geshi-1.0.X/src/geshi
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9665/src/geshi
Modified Files:
xml.php
Log Message:
Added support for <?xml starter and ?> ender.
Index: xml.php
============================================================
=======
RCS file: /cvsroot/geshi/geshi-1.0.X/src/geshi/xml.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** xml.php 25 Feb 2006 00:46:33 -0000 1.12
--- xml.php 23 Mar 2006 07:31:32 -0000 1.13
***************
*** 108,112 ****
),
1 => array(
! GESHI_SEARCH =>
'(</?[a-z0-9_]*(>)?)',
GESHI_REPLACE => '\\1',
GESHI_MODIFIERS => 'i',
--- 108,112 ----
),
1 => array(
! GESHI_SEARCH =>
'(<[/?|(\?xml)]?[a-z0-9_]*(\??>)?)',
GESHI_REPLACE => '\\1',
GESHI_MODIFIERS => 'i',
***************
*** 115,119 ****
),
2 => array(
! GESHI_SEARCH => '((/)?>)',
GESHI_REPLACE => '\\1',
GESHI_MODIFIERS => 'i',
--- 115,119 ----
),
2 => array(
! GESHI_SEARCH => '(([/|\?])?>)',
GESHI_REPLACE => '\\1',
GESHI_MODIFIERS => 'i',
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking
scripting language
that extends applications into web and mobile media. Attend
the live webcast
and join the prime developer group breaking into this new
coding territory!
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
geshi-cvs mailing list
geshi-cvs lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geshi-cvs
|