Markdown writer: use underline
class rather than ul
for underline.
This only affects output with bracketed_spans enabled. The markdown reader parses spans with either `.ul` or `.underline` as Underline elements, but we're moving towards preferring the latter.
This commit is contained in:
parent
5684e6a76c
commit
92e0e424c0
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ inlineToMarkdown opts (Underline lst) = do
|
|||
case variant of
|
||||
PlainText -> return contents
|
||||
_ | isEnabled Ext_bracketed_spans opts ->
|
||||
return $ "[" <> contents <> "]" <> "{.ul}"
|
||||
return $ "[" <> contents <> "]" <> "{.underline}"
|
||||
| isEnabled Ext_native_spans opts ->
|
||||
return $ tagWithAttrs "span" ("", ["underline"], [])
|
||||
<> contents
|
||||
|
|
Loading…
Add table
Reference in a new issue