diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-12-17 11:09:00 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-12-17 11:59:52 -0800 |
commit | 20cf4e47b069f76839b4223cbfecbf96875aadb4 (patch) | |
tree | c809a41a5666c2a74a24d09fe3f5979e0402656f /test/command | |
parent | 11bab77120010f205452e899c0d93d638638261a (diff) | |
download | pandoc-20cf4e47b069f76839b4223cbfecbf96875aadb4.tar.gz |
Improved makeSections so we don't get doubled attributes.
Closes #5986.
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/5986.md | 2 | ||||
-rw-r--r-- | test/command/section-divs.md | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/command/5986.md b/test/command/5986.md index b1545c050..dd426a416 100644 --- a/test/command/5986.md +++ b/test/command/5986.md @@ -10,7 +10,7 @@ </ol> </nav> <p><span id="ch001.xhtml"></span></p> -<section id="ch001.xhtml#hi" class="level1 section" data-number="1"> +<section id="ch001.xhtml#hi" class="level1" data-number="1"> <h1 data-number="1"><span class="header-section-number">1</span> Hi</h1> </section> ``` diff --git a/test/command/section-divs.md b/test/command/section-divs.md index 6e2412e04..5ee28bba8 100644 --- a/test/command/section-divs.md +++ b/test/command/section-divs.md @@ -13,13 +13,13 @@ Ok == ::: ^D -<section id="hi" class="level1 section"> +<section id="hi" class="level1"> <h1>Hi</h1> -<section id="there" class="level2 section"> +<section id="there" class="level2"> <h2>there</h2> </section> </section> -<section id="ok" class="level1 section"> +<section id="ok" class="level1"> <h1>Ok</h1> </section> ``` |