From db0757d65be3fc91417dea63107c06dfea509606 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Sat, 28 Jul 2007 15:33:04 +0000 Subject: 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 --- src/Text/Pandoc/Writers/ConTeXt.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Text') diff --git a/src/Text/Pandoc/Writers/ConTeXt.hs b/src/Text/Pandoc/Writers/ConTeXt.hs index 2cf2b136b..d5f0ba1d0 100644 --- a/src/Text/Pandoc/Writers/ConTeXt.hs +++ b/src/Text/Pandoc/Writers/ConTeXt.hs @@ -217,6 +217,8 @@ inlineToConTeXt (TeX str) = return str inlineToConTeXt (HtmlInline str) = return "" inlineToConTeXt (LineBreak) = return "\\crlf\n" inlineToConTeXt Space = return " " +inlineToConTeXt (Link [Code str] (src, tit)) = -- since ConTeXt has its own + inlineToConTeXt (Link [Str str] (src, tit)) -- way of printing links... inlineToConTeXt (Link text (src, _)) = do next <- get put (next + 1) -- cgit v1.2.3