diff options
author | Andreas Gohr <andi@splitbrain.org> | 2012-05-10 15:48:01 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2012-05-10 15:48:01 +0200 |
commit | 2daedc0b7ff9126ebb9855f6b8b39f830bd625ed (patch) | |
tree | 91c6bbcf5661a608ffafd0f15992c2e0e6da8fa6 /inc/geshi/css.php | |
parent | c7217c0bb77c4d3d6bc644be80063670c3037acf (diff) | |
download | rpg-2daedc0b7ff9126ebb9855f6b8b39f830bd625ed.tar.gz rpg-2daedc0b7ff9126ebb9855f6b8b39f830bd625ed.tar.bz2 |
GeSHi updated to 1.0.8.10
Diffstat (limited to 'inc/geshi/css.php')
-rw-r--r-- | inc/geshi/css.php | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/inc/geshi/css.php b/inc/geshi/css.php index 51f261486..a8706bd26 100644 --- a/inc/geshi/css.php +++ b/inc/geshi/css.php @@ -4,7 +4,7 @@ * ------- * Author: Nigel McNie (nigel@geshi.org) * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/) - * Release Version: 1.0.8.8 + * Release Version: 1.0.8.10 * Date Started: 2004/06/18 * * CSS language file for GeSHi. @@ -58,7 +58,15 @@ $language_data = array ( ), 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 'QUOTEMARKS' => array('"', "'"), - 'ESCAPE_CHAR' => '\\', + 'ESCAPE_CHAR' => '', + 'ESCAPE_REGEXP' => array( + //Simple Single Char Escapes + //1 => "#\\\\[nfrtv\$\"\n\\\\]#i", + //Hexadecimal Char Specs + 2 => "#\\\\[\da-fA-F]{1,6}\s?#i", + //Unicode Char Specs + //3 => "#\\\\u[\da-fA-F]{1,8}#i", + ), 'KEYWORDS' => array( 1 => array( 'aqua', 'azimuth', 'background-attachment', 'background-color', @@ -153,7 +161,10 @@ $language_data = array ( 'MULTI' => 'color: #808080; font-style: italic;' ), 'ESCAPE_CHAR' => array( - 0 => 'color: #000099; font-weight: bold;' + 0 => 'color: #000099; font-weight: bold;', + //1 => 'color: #000099; font-weight: bold;', + 2 => 'color: #000099; font-weight: bold;' + //3 => 'color: #000099; font-weight: bold;' ), 'BRACKETS' => array( 0 => 'color: #00AA00;' |