summaryrefslogtreecommitdiff
path: root/test/epub
diff options
context:
space:
mode:
authorElliot Bobrow <77182873+ebobrow@users.noreply.github.com>2022-07-06 13:10:24 -0700
committerGitHub <noreply@github.com>2022-07-06 22:10:24 +0200
commit7fdc01ac0d91a037b48847939b762654174b4125 (patch)
tree427d3c4cfc26e67e6a72ead286f75ed1738cfe5f /test/epub
parentbefa9d130181ff99d155a6df454c40fba0d9736a (diff)
Use `formatCode` from #7525 in HTML and MediaWiki (#8162)
Move formatting from inside inline code elements to the outside in order to retain formatting.
Diffstat (limited to 'test/epub')
-rw-r--r--test/epub/features.native14
-rw-r--r--test/epub/formatting.native7
2 files changed, 18 insertions, 3 deletions
diff --git a/test/epub/features.native b/test/epub/features.native
index 61d0f8ba9..659c9692e 100644
--- a/test/epub/features.native
+++ b/test/epub/features.native
@@ -1505,7 +1505,12 @@
, Space
, Str "the"
, Space
- , Code ( "" , [] , [] ) "epub:switch"
+ , Link
+ ( "" , [] , [] )
+ [ Code ( "" , [] , [] ) "epub:switch" ]
+ ( "http://idpf.org/epub/30/spec/epub30-contentdocs.html#sec-xhtml-content-switch"
+ , ""
+ )
, Space
, Str "element"
, Space
@@ -1615,7 +1620,12 @@
, Space
, Str "an"
, Space
- , Code ( "" , [] , [] ) "epub:case"
+ , Link
+ ( "" , [] , [] )
+ [ Code ( "" , [] , [] ) "epub:case" ]
+ ( "http://idpf.org/epub/30/spec/epub30-contentdocs.html#sec-xhtml-epub-case"
+ , ""
+ )
, Space
, Str "element."
]
diff --git a/test/epub/formatting.native b/test/epub/formatting.native
index cab9e40fa..41559d1bd 100644
--- a/test/epub/formatting.native
+++ b/test/epub/formatting.native
@@ -605,7 +605,12 @@
, Space
, Str "the"
, Space
- , Code ( "" , [] , [] ) "CSS Multi-Column Layout"
+ , Link
+ ( "" , [] , [] )
+ [ Code ( "" , [] , [] ) "CSS Multi-Column Layout" ]
+ ( "http://idpf.org/epub/30/spec/epub30-contentdocs.html#sec-css-multi-column"
+ , ""
+ )
, Space
, Str "properties"
, Space