From 8ed710bc9d771a25e73be2582b379485a3e240dc Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Fri, 11 Jul 2008 01:24:15 +0000 Subject: 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 --- Text/Pandoc/Writers/LaTeX.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'Text/Pandoc/Writers/LaTeX.hs') diff --git a/Text/Pandoc/Writers/LaTeX.hs b/Text/Pandoc/Writers/LaTeX.hs index a2e6eec2c..686e98cf4 100644 --- a/Text/Pandoc/Writers/LaTeX.hs +++ b/Text/Pandoc/Writers/LaTeX.hs @@ -116,6 +116,7 @@ stringToLaTeX = escapeStringUsing latexEscapes , ('|', "\\textbar{}") , ('<', "\\textless{}") , ('>', "\\textgreater{}") + , ('\160', "~") ] -- | Puts contents into LaTeX command. -- cgit v1.2.3