From 4850aaf046dacc942716b6827d2e82e9b310c284 Mon Sep 17 00:00:00 2001 From: Andrew Dunning Date: Wed, 8 Jul 2015 13:57:04 -0400 Subject: Correct superscript/subscript. --- src/Text/Pandoc/Writers/CommonMark.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Text/Pandoc/Writers') diff --git a/src/Text/Pandoc/Writers/CommonMark.hs b/src/Text/Pandoc/Writers/CommonMark.hs index 706b27175..61ac0fdba 100644 --- a/src/Text/Pandoc/Writers/CommonMark.hs +++ b/src/Text/Pandoc/Writers/CommonMark.hs @@ -144,11 +144,11 @@ inlineToNodes (Strikeout xs) = ((node (INLINE_HTML (T.pack "")) [] : inlinesToNodes xs ++ [node (INLINE_HTML (T.pack "")) []]) ++ ) inlineToNodes (Superscript xs) = - ((node (INLINE_HTML (T.pack "")) [] : inlinesToNodes xs ++ - [node (INLINE_HTML (T.pack "")) []]) ++ ) -inlineToNodes (Subscript xs) = ((node (INLINE_HTML (T.pack "")) [] : inlinesToNodes xs ++ [node (INLINE_HTML (T.pack "")) []]) ++ ) +inlineToNodes (Subscript xs) = + ((node (INLINE_HTML (T.pack "")) [] : inlinesToNodes xs ++ + [node (INLINE_HTML (T.pack "")) []]) ++ ) inlineToNodes (SmallCaps xs) = ((node (INLINE_HTML (T.pack "")) [] : inlinesToNodes xs ++ -- cgit v1.2.3