From 7db3d9ab04cfa9b2d4c4f11112acfde15577958f Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Sat, 1 Jun 2019 10:10:30 +0200 Subject: Textile writer: fix closing tag for math output Opening and closing tag for math output match now. --- src/Text/Pandoc/Writers/Textile.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Text/Pandoc/Writers/Textile.hs b/src/Text/Pandoc/Writers/Textile.hs index 205bb48cc..0ccc71b14 100644 --- a/src/Text/Pandoc/Writers/Textile.hs +++ b/src/Text/Pandoc/Writers/Textile.hs @@ -428,7 +428,7 @@ inlineToTextile _ (Code _ str) = inlineToTextile _ (Str str) = return $ escapeStringForTextile str inlineToTextile _ (Math _ str) = - return $ "" ++ escapeStringForXML str ++ "" + return $ "" ++ escapeStringForXML str ++ "" inlineToTextile opts il@(RawInline f str) | f == Format "html" || f == Format "textile" = return str -- cgit v1.2.3