aboutsummaryrefslogtreecommitdiffstats
path: root/math/texutil.ml
diff options
context:
space:
mode:
authorBrion Vibber <brion@users.mediawiki.org>2004-04-20 08:35:49 +0000
committerBrion Vibber <brion@users.mediawiki.org>2004-04-20 08:35:49 +0000
commit478896221a8f1468a855d5a944cc82d41ef0a662 (patch)
tree29d011e3e4ce3a21dd1fccf115dfa44308b53adc /math/texutil.ml
parentb768dc078177b0fb899ee5cf0fdf8eaeb6b05575 (diff)
downloadmediawikicore-478896221a8f1468a855d5a944cc82d41ef0a662.tar.gz
mediawikicore-478896221a8f1468a855d5a944cc82d41ef0a662.zip
XHTML fixes
Notes
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/3230
Diffstat (limited to 'math/texutil.ml')
-rw-r--r--math/texutil.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/texutil.ml b/math/texutil.ml
index 40d756562715..a814ea3e258c 100644
--- a/math/texutil.ml
+++ b/math/texutil.ml
@@ -417,9 +417,9 @@ let find = function
| "\\choose" -> FUN_INFIX "\\choose "
| "\\atop" -> FUN_INFIX "\\atop "
| "\\binom" -> FUN_AR2 "\\binom "
- | "\\frac" -> FUN_AR2h ("\\frac ", fun num den -> Html.html_render [num], "<hr style=\"{background: black}\">", Html.html_render [den])
+ | "\\frac" -> FUN_AR2h ("\\frac ", fun num den -> Html.html_render [num], "<hr style=\"{background: black}\"/>", Html.html_render [den])
| "\\cfrac" -> (tex_use_ams (); FUN_AR2h ("\\cfrac ", fun num den -> Html.html_render [num], "<hr style=\"{background: black}\">", Html.html_render [den]))
- | "\\over" -> FUN_INFIXh ("\\over ", fun num den -> Html.html_render num, "<hr style=\"{background: black}\">", Html.html_render den)
+ | "\\over" -> FUN_INFIXh ("\\over ", fun num den -> Html.html_render num, "<hr style=\"{background: black}\"/>", Html.html_render den)
| "\\sqrt" -> FUN_AR1 "\\sqrt "
| "\\pmod" -> FUN_AR1hl ("\\pmod ", ("(mod ", ")"))
| "\\bmod" -> FUN_AR1hl ("\\bmod ", ("mod ", ""))