diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-06-27 20:30:20 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-06-27 20:30:20 -0700 |
commit | 7df4d86006c42db3e2cc68c09993f7f83cca7107 (patch) | |
tree | e422786d36af6d2ac90c4afd9cafa87ebeec7fbe /src | |
parent | fce3ebb8e023d0f9fd5756503e9264b05571b75a (diff) | |
download | pandoc-7df4d86006c42db3e2cc68c09993f7f83cca7107.tar.gz |
Textile writer: escape `+` and `-` as entities.
Closes #2225.
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Writers/Textile.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers/Textile.hs b/src/Text/Pandoc/Writers/Textile.hs index b4ef4e23f..126c1e62e 100644 --- a/src/Text/Pandoc/Writers/Textile.hs +++ b/src/Text/Pandoc/Writers/Textile.hs @@ -85,6 +85,8 @@ escapeCharForTextile x = case x of '*' -> "*" '_' -> "_" '@' -> "@" + '+' -> "+" + '-' -> "-" '|' -> "|" '\x2014' -> " -- " '\x2013' -> " - " |