diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2011-12-18 11:08:04 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2011-12-18 11:08:04 -0800 |
commit | bfa5ca01bc2ea97f041441ef7f4667decd76c5c8 (patch) | |
tree | 54bc08726057e4f847dbbeddb1ab86a3948ff1bf /src | |
parent | 1c521519d9d42eee19ce622467efda4583b768f9 (diff) | |
download | pandoc-bfa5ca01bc2ea97f041441ef7f4667decd76c5c8.tar.gz |
HTML writer: Use `<del>` for strikeout.
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Writers/HTML.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Writers/HTML.hs b/src/Text/Pandoc/Writers/HTML.hs index 2c7874609..5843bc5ef 100644 --- a/src/Text/Pandoc/Writers/HTML.hs +++ b/src/Text/Pandoc/Writers/HTML.hs @@ -546,7 +546,7 @@ inlineToHtml opts inline = $ strToHtml str Right h -> return h (Strikeout lst) -> inlineListToHtml opts lst >>= - return . (H.span ! A.style "text-decoration: line-through;") + return . H.del (SmallCaps lst) -> inlineListToHtml opts lst >>= return . (H.span ! A.style "font-variant: small-caps;") (Superscript lst) -> inlineListToHtml opts lst >>= return . H.sup |