diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2008-07-11 01:24:15 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2008-07-11 01:24:15 +0000 |
commit | 8ed710bc9d771a25e73be2582b379485a3e240dc (patch) | |
tree | eb086d34e2863a3af8e0dfa42f05290c83992cdb /tests/writer.latex | |
parent | 275f9dc94c1ff15e2fafae9e3b5fe7bab2d9c88f (diff) | |
download | pandoc-8ed710bc9d771a25e73be2582b379485a3e240dc.tar.gz |
Treat '\ ' in (extended) markdown as nonbreaking space.
Print nonbreaking space appropriately in each writer (e.g. ~ in LaTeX).
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1297 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests/writer.latex')
-rw-r--r-- | tests/writer.latex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/writer.latex b/tests/writer.latex index 0da95f679..053daaeed 100644 --- a/tests/writer.latex +++ b/tests/writer.latex @@ -527,10 +527,10 @@ This is code: \verb!>!, \verb!$!, \verb!\!, \verb!\$!, \sout{This is \emph{strikeout}.} Superscripts: a\textsuperscript{bc}d -a\textsuperscript{\emph{hello}} a\textsuperscript{hello there}. +a\textsuperscript{\emph{hello}} a\textsuperscript{hello~there}. Subscripts: H\textsubscr{2}O, H\textsubscr{23}O, -H\textsubscr{many of them}O. +H\textsubscr{many~of~them}O. These should not be superscripts or subscripts, because of the unescaped spaces: a\^{}b c\^{}d, a\ensuremath{\sim}b |