aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEvan Silberman <[email protected]>2025-01-27 16:44:34 -0800
committerJohn MacFarlane <[email protected]>2025-01-29 15:59:26 -0600
commitd680ce01001813d91911f0522effe097b4d0e862 (patch)
treebd9f9390fb38fe5c53a3e8968d7fb1cf29c5922c /src
parentf17de990b4041cc92e637e07b2bd4ffc6760c436 (diff)
Handle <abbr> as a span-like inline
Closes #5793
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Shared.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Shared.hs b/src/Text/Pandoc/Shared.hs
index 1bbe1171d..1badeeb58 100644
--- a/src/Text/Pandoc/Shared.hs
+++ b/src/Text/Pandoc/Shared.hs
@@ -679,7 +679,7 @@ addMetaField key val (Meta meta) =
-- | Set of HTML elements that are represented as Span with a class equal as
-- the element tag itself.
htmlSpanLikeElements :: Set.Set T.Text
-htmlSpanLikeElements = Set.fromList ["kbd", "mark", "dfn"]
+htmlSpanLikeElements = Set.fromList ["kbd", "mark", "dfn", "abbr"]
-- | Reformat 'Inlines' as code, putting the stringlike parts in 'Code'
-- elements while bringing other inline formatting outside.