git.iko.soy/typeable/pandoc
on master help sign in
Don't put autolinks in typewriter font in ConTeXt, since

ConTeXt has its own way of printing links. git-svn-id: https://pandoc.googlecode.com/svn/trunk@820 788f1e2b-df1e-0410-8736-df70ead52e1b

commitdb0757d65be3fc91417dea63107c06dfea509606 authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateSat 28 Jul 2007, 15:33 (19 years ago) parentf273965
1 file changed+2
src/Text/Pandoc/Writers/ConTeXt.hs+2
src/Text/Pandoc/Writers/ConTeXt.hs+2
@@ -217,6 +217,8 @@ inlineToConTeXt (TeX str) = return str
217217inlineToConTeXt (HtmlInline str) = return ""
218218inlineToConTeXt (LineBreak) = return "\\crlf\n"
219219inlineToConTeXt Space = return " "
220+inlineToConTeXt (Link [Code str] (src, tit)) = -- since ConTeXt has its own
221+ inlineToConTeXt (Link [Str str] (src, tit)) -- way of printing links...
220222inlineToConTeXt (Link text (src, _)) = do
221223 next <- get
222224 put (next + 1)