Correct superscript/subscript.

This commit is contained in:
Andrew Dunning 2015-07-08 13:57:04 -04:00
parent 9e528f4c0c
commit 4850aaf046

View file

@ -144,11 +144,11 @@ inlineToNodes (Strikeout xs) =
((node (INLINE_HTML (T.pack "<s>")) [] : inlinesToNodes xs ++
[node (INLINE_HTML (T.pack "</s>")) []]) ++ )
inlineToNodes (Superscript xs) =
((node (INLINE_HTML (T.pack "<sub>")) [] : inlinesToNodes xs ++
[node (INLINE_HTML (T.pack "</sub>")) []]) ++ )
inlineToNodes (Subscript xs) =
((node (INLINE_HTML (T.pack "<sup>")) [] : inlinesToNodes xs ++
[node (INLINE_HTML (T.pack "</sup>")) []]) ++ )
inlineToNodes (Subscript xs) =
((node (INLINE_HTML (T.pack "<sub>")) [] : inlinesToNodes xs ++
[node (INLINE_HTML (T.pack "</sub>")) []]) ++ )
inlineToNodes (SmallCaps xs) =
((node (INLINE_HTML (T.pack "<span style=\"font-variant:small-caps;\">")) []
: inlinesToNodes xs ++