aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2019-06-01 10:10:30 +0200
committerAlbert Krewinkel <albert@zeitkraut.de>2019-06-01 10:16:00 +0200
commit7db3d9ab04cfa9b2d4c4f11112acfde15577958f (patch)
tree39513e843d3a12c98fa8dd3d9923de749b47b779 /src/Text/Pandoc
parent39a3a025dae95b6bafb9b86f2c2eefd4cd0cb3b7 (diff)
downloadpandoc-7db3d9ab04cfa9b2d4c4f11112acfde15577958f.tar.gz
Textile writer: fix closing tag for math output
Opening and closing tag for math output match now.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Writers/Textile.hs2
1 files changed, 1 insertions, 1 deletions
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 $ "<span class=\"math\">" ++ escapeStringForXML str ++ "</math>"
+ return $ "<span class=\"math\">" ++ escapeStringForXML str ++ "</span>"
inlineToTextile opts il@(RawInline f str)
| f == Format "html" || f == Format "textile" = return str