aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2011-01-23 09:12:50 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2011-01-23 09:12:50 -0800
commit38013de8572ee9b6c9b5873d6f9e0bf6876215ed (patch)
treee73a227802e52c85bb030c75cdcaf628d59882a5 /src/Text/Pandoc/Writers
parent628a1ef81548ccf0307276b4f9164191cacc9193 (diff)
downloadpandoc-38013de8572ee9b6c9b5873d6f9e0bf6876215ed.tar.gz
Textile writer: Don't HTML-escape between @'s.
Diffstat (limited to 'src/Text/Pandoc/Writers')
-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 4aaee0a32..f58d49483 100644
--- a/src/Text/Pandoc/Writers/Textile.hs
+++ b/src/Text/Pandoc/Writers/Textile.hs
@@ -378,7 +378,7 @@ inlineToTextile _ Ellipses = return "..."
inlineToTextile _ (Code str) =
return $ if '@' `elem` str
then "<tt>" ++ escapeStringForXML str ++ "</tt>"
- else "@" ++ escapeStringForXML str ++ "@"
+ else "@" ++ str ++ "@"
inlineToTextile _ (Str str) = return $ escapeStringForTextile str