diff options
author | Brion Vibber <brion@users.mediawiki.org> | 2005-04-15 07:42:47 +0000 |
---|---|---|
committer | Brion Vibber <brion@users.mediawiki.org> | 2005-04-15 07:42:47 +0000 |
commit | 7c752c33df6e681b43c28223c811bc7553dccd95 (patch) | |
tree | 284bf3abdf4c3c4db756bfbfbd2c7506153b8143 /math | |
parent | 82e3c5f978c5b241dc10be1c2b5537777365de24 (diff) | |
download | mediawikicore-7c752c33df6e681b43c28223c811bc7553dccd95.tar.gz mediawikicore-7c752c33df6e681b43c28223c811bc7553dccd95.zip |
Revert abuse of semantic HTML markup
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/8340
Diffstat (limited to 'math')
-rw-r--r-- | math/html.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/math/html.ml b/math/html.ml index d9a4ef871c3b..6a24b114eabc 100644 --- a/math/html.ml +++ b/math/html.ml @@ -19,10 +19,10 @@ let font_render lit = function | (_, FONT_UF) -> lit | (CTX_IT,FONT_RTI) -> raise Too_difficult_for_html | (_, FONT_RTI) -> lit - | (CTX_IT,FONT_RM) -> "<em>"^lit^"</em>" + | (CTX_IT,FONT_RM) -> "<i>"^lit^"</i>" | (_, FONT_RM) -> lit | (CTX_RM,FONT_IT) -> lit - | (_, FONT_IT) -> "<em>"^lit^"</em>" + | (_, FONT_IT) -> "<i>"^lit^"</i>" let rec html_render_flat ctx = function TEX_LITERAL (HTMLABLE (ft,_,sh))::r -> (html_liberal (); (font_render sh (ctx,ft))^html_render_flat ctx r) |