Correct superscript/subscript.
This commit is contained in:
parent
9e528f4c0c
commit
4850aaf046
1 changed files with 3 additions and 3 deletions
|
@ -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 ++
|
||||
|
|
Loading…
Reference in a new issue