Asciidoc writer: fix underline.
We were rendering it as `+++text+++`; this is now changed to `[.underline]#text#`. See comment at <https://github.com/jgm/pandoc/issues/8070#issuecomment-1126883824>.
This commit is contained in:
parent
9c85933b38
commit
1906ae0548
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue