aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2012-04-27 15:10:40 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2012-04-27 15:10:40 -0700
commit5932d905ff49b90796b4adbf2c5cc2b8c3722a79 (patch)
tree5b9e936f62713d547fe87b7f41614a21e813cab3 /src
parent5abf499dad8a9c724cd58ad5255deb5f0c6b368f (diff)
downloadpandoc-5932d905ff49b90796b4adbf2c5cc2b8c3722a79.tar.gz
Textile reader: Parse +text+ as emphasized (should be underline).
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Readers/Textile.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/Textile.hs b/src/Text/Pandoc/Readers/Textile.hs
index f9221ef9a..abc686a84 100644
--- a/src/Text/Pandoc/Readers/Textile.hs
+++ b/src/Text/Pandoc/Readers/Textile.hs
@@ -368,6 +368,7 @@ inlineMarkup = choice [ simpleInline (string "??") (Cite [])
, simpleInline (string "__") Emph
, simpleInline (char '*') Strong
, simpleInline (char '_') Emph
+ , simpleInline (char '+') Emph -- approximates underline
, simpleInline (char '-') Strikeout
, simpleInline (char '^') Superscript
, simpleInline (char '~') Subscript