aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2012-09-04 23:21:15 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2012-09-04 23:21:15 -0700
commit784e6e65c497c0b08c356c2c496f111a8515c85c (patch)
tree17a84999e2b39b8b0fec9ea78ddd80f1cfc95851 /src/Text
parentb21363f1d533481a8d94813be2626ec9d8d27401 (diff)
downloadpandoc-784e6e65c497c0b08c356c2c496f111a8515c85c.tar.gz
LaTeX reader: Handle \slash command.
Closes #605.
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs
index 4a5a14d6a..72e4926d0 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -352,6 +352,7 @@ inlineCommands = M.fromList $
, ("textsubscript", subscript <$> tok)
, ("textbackslash", lit "\\")
, ("backslash", lit "\\")
+ , ("slash", lit "/")
, ("textbf", strong <$> tok)
, ("ldots", lit "…")
, ("dots", lit "…")