summaryrefslogtreecommitdiffstats
path: root/application/libraries/geshi/latex.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/libraries/geshi/latex.php')
-rw-r--r--application/libraries/geshi/latex.php6
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 => '',