From 5968b7de1635c1f1ad7138d950f75f64692ad6fb Mon Sep 17 00:00:00 2001 From: Jens Frank Date: Sun, 27 May 2007 19:52:29 +0000 Subject: [PATCH] (bug 7899) Added \hline and \vline to the list of allowed TeX commands --- RELEASE-NOTES | 1 + math/texutil.ml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 460b0b6775..cb5c0df1d3 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -87,6 +87,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN entries. * (bug 7432) Change language name for Aromanian (roa-rup) * (bug 908) Unexistent special pages now generate a red link. +* (bug 7899) Added \hline and \vline to the list of allowed TeX commands == MediaWiki API changes since 1.10 == diff --git a/math/texutil.ml b/math/texutil.ml index f9ebb25895..3e4ee4db90 100644 --- a/math/texutil.ml +++ b/math/texutil.ml @@ -466,6 +466,8 @@ let find = function | "\\left" -> LEFT | "\\right" -> RIGHT | "\\hat" -> FUN_AR1 "\\hat " + | "\\hline" -> LITERAL (TEX_ONLY "\\hline ") + | "\\vline" -> LITERAL (TEX_ONLY "\\vline ") | "\\widehat" -> LITERAL (TEX_ONLY "\\widehat ") | "\\overline" -> LITERAL (TEX_ONLY "\\overline ") | "\\overbrace" -> LITERAL (TEX_ONLY "\\overbrace ") -- 2.20.1