We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
data-
1 parent 25bba0c commit df5ae1cCopy full SHA for df5ae1c
src/Text/Pandoc/Writers/HTML.hs
@@ -633,6 +633,7 @@ toAttrs kvs = do
633
return (keys, attrs)
634
else return (Set.insert k keys, addAttr html5 mbEpubVersion k v attrs)
635
addAttr html5 mbEpubVersion x y
636
+ | T.null x = id -- see #7546
637
| html5
638
= if x `Set.member` (html5Attributes <> rdfaAttributes)
639
|| T.any (== ':') x -- e.g. epub: namespace
test/command/7546.md
@@ -0,0 +1,6 @@
1
+```
2
+% pandoc -t html -f native
3
+Span ("", [], [("","")]) []
4
+^D
5
+<span></span>
6
0 commit comments