From 20cf4e47b069f76839b4223cbfecbf96875aadb4 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Tue, 17 Dec 2019 11:09:00 -0800
Subject: Improved makeSections so we don't get doubled attributes.

Closes #5986.
---
 test/command/5986.md         | 2 +-
 test/command/section-divs.md | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

(limited to 'test')

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>
 ```
-- 
cgit v1.2.3