diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-02-22 21:15:25 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-02-22 21:15:25 +0100 |
commit | f4a452f89174828fea77614a4b6a067fc4675ba5 (patch) | |
tree | 948773b229c2eb609a8341d9fb42d59127f92bfb /test/command | |
parent | e51b32a475ac9f1633ac996121df7a6c10e05283 (diff) | |
download | pandoc-f4a452f89174828fea77614a4b6a067fc4675ba5.tar.gz |
When parsing raw LaTeX commands, include trailing space.
Otherwise things like `\noindent foo` break and turn into
`\noindentfoo`.
Affects `-f latex+raw_tex` and `-f markdown` (and other formats
that allow `raw_tex`).
Closes #1773.
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/1773.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/command/1773.md b/test/command/1773.md new file mode 100644 index 000000000..b93267287 --- /dev/null +++ b/test/command/1773.md @@ -0,0 +1,6 @@ +``` +% pandoc -f latex+raw_tex -t native +\noindent hi +^D +[Para [RawInline (Format "latex") "\\noindent ",Str "hi"]] +``` |