aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Data.hs
diff options
context:
space:
mode:
authorDaniele D'Orazio <d.dorazio96@gmail.com>2019-10-09 10:10:08 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2019-10-15 09:49:09 -0700
commit1425bf9a6549da00ca87832dc6f19d59269a6a83 (patch)
tree5afee855bf9c867ed2fce0edfd6ecf14fb04c02a /src/Text/Pandoc/Data.hs
parenta1977dd2d67e6ccbafaf7ac25f941bdd399469fa (diff)
downloadpandoc-1425bf9a6549da00ca87832dc6f19d59269a6a83.tar.gz
Add support for reading and writing <kbd> elements
* Text.Pandoc.Shared: export `htmlSpanLikeElements` [API change] This commit also introduces a mapping of HTML span like elements that are internally represented as a Span with a single class, but that are converted back to the original element by the html writer. As of now, only the kbd element is handled this way. Ideally these elements should be handled as plain AST values, but since that would be a breaking change with a large impact, we revert to this stop-gap solution. Fixes https://github.com/jgm/pandoc/issues/5796.
Diffstat (limited to 'src/Text/Pandoc/Data.hs')
0 files changed, 0 insertions, 0 deletions