git.iko.soy/typeable/pandoc
on master help sign in
Man writer: better output for line break:

.PD 0 # set interparagraph space to 0 .P # new paragraph .PD # reset interparagraph space to default. git-svn-id: https://pandoc.googlecode.com/svn/trunk@613 788f1e2b-df1e-0410-8736-df70ead52e1b

commit2cb22a1f8a5a656688733f0e1a50159a657249b6 authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateMon 2 Jul 2007, 02:31 (19 years ago) parentf5a3d44
1 file changed+1−1
src/Text/Pandoc/Writers/Man.hs+1−1
src/Text/Pandoc/Writers/Man.hs+1−1
@@ -248,7 +248,7 @@ inlineToMan opts (Code str) =
248248inlineToMan opts (Str str) = return $ text $ escapeString str
249249inlineToMan opts (TeX str) = return $ text $ escapeCode str
250250inlineToMan opts (HtmlInline str) = return $ text $ escapeCode str
251−inlineToMan opts (LineBreak) = return $ text "\n.P 0\n"
251+inlineToMan opts (LineBreak) = return $ text "\n.PD 0\n.P\n.PD\n"
252252inlineToMan opts Space = return $ char ' '
253253inlineToMan opts (Link txt (src, _)) = do
254254 linktext <- inlineListToMan opts txt