changeset 117:92604138c902

mediawiki.el: fix greedy regexp
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Sun, 29 Mar 2015 14:03:25 -0400
parents 255333f6d4d5
children ad0081942dce
files packages/mediawiki.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/mediawiki.el
+++ b/packages/mediawiki.el
@@ -896,7 +896,7 @@
    (cons "^ .*$" '(0 font-lock-constant-face t t))
 
    ;; Math environment (uniform highlight only, no TeX markup)
-   (list "<math>\\(\\(\n?.\\)*\\)</math>"
+   (list "<math>\\(\\(\n?.\\)*?\\)</math>"
          '(1 font-lock-keyword-face t t))))
 
 (defvar mediawiki-draft-send-archive t