aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2022-07-25 11:55:48 -0700
committerJohn MacFarlane <[email protected]>2022-07-25 11:55:48 -0700
commitac7fa3da4d70433d367274bc19c726e1c30f7a81 (patch)
treecacb0bc3f95e01a3abfa65b595695458e278e55b /test/command
parentb7bc98008996eb6186c8f823d75ec3d6b980958e (diff)
HTML writer: Allow "spanlike" classes to be combined.
Previously classes like "underline" and "marked" had to be the first class in a span in order for the span to be interpreted as a "ul" or "mark" element. This commit allows these special classes to be "stacked," e.g. `[test]{.mark .underline}`; in addition, the special classes are no longer required to come first in the list of classes. See #8194 for context.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/nested-spanlike.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/command/nested-spanlike.md b/test/command/nested-spanlike.md
new file mode 100644
index 000000000..98d634052
--- /dev/null
+++ b/test/command/nested-spanlike.md
@@ -0,0 +1,6 @@
+```
+% pandoc -f markdown -t html
+[test]{.foo .underline #bar .smallcaps .kbd}
+^D
+<p><u id="bar"><span class="smallcaps"><kbd>test</kbd></span></u></p>
+```