Skip to content

Commit

Permalink
Merge pull request #40 from TobiasZawada/master
Browse files Browse the repository at this point in the history
Nongreedy regexp for math environment
  • Loading branch information
hexmode authored Jul 18, 2020
2 parents 7cfdeeb + 9c64fe7 commit 9324976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mediawiki.el
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,7 @@ as group and page name.")
(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
Expand Down

0 comments on commit 9324976

Please sign in to comment.