diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-12-10 15:44:10 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-12-10 15:44:10 -0800 |
commit | 0a502e5ff52b251bbf3da69fd1f9a88d5e0fe92c (patch) | |
tree | 7c78b78cadf50dd68033ccc08fd1a9c43c2b325d /test/command | |
parent | 248a2a1db5cb567499a9272a2a2f2390c13d9275 (diff) | |
download | pandoc-0a502e5ff52b251bbf3da69fd1f9a88d5e0fe92c.tar.gz |
HTML reader: retain attribute prefixes and avoid duplicates.
Previously we stripped attribute prefixes, reading
`xml:lang` as `lang` for example. This resulted in
two duplicate `lang` attributes when `xml:lang` and
`lang` were both used. This commit causes the prefixes
to be retained, and also avoids invald duplicate
attributes.
Closes #6938.
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/5986.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/command/5986.md b/test/command/5986.md index ea0ca70c1..ed8dd30c9 100644 --- a/test/command/5986.md +++ b/test/command/5986.md @@ -4,7 +4,7 @@ ^D <p><span id="title_page.xhtml"></span></p> <p><span id="nav.xhtml"></span></p> -<nav type="landmarks" id="landmarks" hidden="hidden"> +<nav epub:type="landmarks" id="landmarks" hidden="hidden"> <ol> <li><a href="text/title_page.xhtml">Title Page</a></li> <li><a href="#nav.xhtml#toc">Table of Contents</a></li> |