diff options
author | Florian Pritz <bluewind@xinu.at> | 2012-02-14 01:17:10 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2012-02-14 01:17:10 +0100 |
commit | a635c931ff8aa79728d93a4835e06a75e8f90be8 (patch) | |
tree | ec99bc646bca4cd8d37e58378d07c1ebd1f0499f /application/libraries/geshi/latex.php | |
parent | 798a4824a2aa099de9eb05454ebb62b1522bee65 (diff) |
bump geshi to 1.0.8.10
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/libraries/geshi/latex.php')
-rw-r--r-- | application/libraries/geshi/latex.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/application/libraries/geshi/latex.php b/application/libraries/geshi/latex.php index ae7f0b3c5..91c034236 100644 --- a/application/libraries/geshi/latex.php +++ b/application/libraries/geshi/latex.php @@ -4,7 +4,7 @@ * ----- * Author: efi, Matthias Pospiech (matthias@pospiech.eu) * Copyright: (c) 2006 efi, Matthias Pospiech (matthias@pospiech.eu), Nigel McNie (http://qbnz.com/highlighter) - * Release Version: 1.0.8.6 + * Release Version: 1.0.8.10 * Date Started: 2006/09/23 * * LaTeX language file for GeSHi. @@ -147,7 +147,7 @@ $language_data = array ( ), // [options] 2 => array( - GESHI_SEARCH => "(?<=\[).+(?=\])", + GESHI_SEARCH => "(?<=\[).*(?=\])", GESHI_REPLACE => '\0', GESHI_MODIFIERS => 'Us', GESHI_BEFORE => '', @@ -185,7 +185,7 @@ $language_data = array ( 8 => "\\\\(?:end|begin)(?=[^a-zA-Z])", // {parameters} 9 => array( - GESHI_SEARCH => "(?<=\\{)(?!<\|!REG3XP5!>).*(?=\\})", + GESHI_SEARCH => "(?<=\\{)(?!<\|!REG3XP5!>).*?(?=\\})", GESHI_REPLACE => '\0', GESHI_MODIFIERS => 'Us', GESHI_BEFORE => '', |