From 1906ae05488c7ffcc4cdd5c8f5b4fb1a2c527127 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 15 May 2022 14:30:30 -0700 Subject: Asciidoc writer: fix underline. We were rendering it as `+++text+++`; this is now changed to `[.underline]#text#`. See comment at . --- src/Text/Pandoc/Writers/AsciiDoc.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Text/Pandoc/Writers/AsciiDoc.hs b/src/Text/Pandoc/Writers/AsciiDoc.hs index 35c175994..c4624cf5a 100644 --- a/src/Text/Pandoc/Writers/AsciiDoc.hs +++ b/src/Text/Pandoc/Writers/AsciiDoc.hs @@ -487,7 +487,7 @@ inlineToAsciiDoc opts (Emph lst) = do return $ marker <> contents <> marker inlineToAsciiDoc opts (Underline lst) = do contents <- inlineListToAsciiDoc opts lst - return $ "+++" <> contents <> "+++" + return $ "[.underline]#" <> contents <> "#" inlineToAsciiDoc opts (Strong lst) = do contents <- inlineListToAsciiDoc opts lst isIntraword <- gets intraword -- cgit v1.2.3