-
I opening this as a discussion as I am not sure from reading release note, and associated issue of commit of this is expected change or not. I understand Pandoc 3.1.12 is changing the behavior of # pandoc 3.1.12
> pandoc --number-sections -t html
# One {-}
# Two
# Three {-}
# Four
^Z
<h1 class="unnumbered" id="one">One</h1>
<h1 data-number="2" id="two"><span
class="header-section-number">2</span> Two</h1>
<h1 class="unnumbered" id="three">Three</h1>
<h1 data-number="4" id="four"><span
class="header-section-number">4</span> Four</h1> Previous behavior with 3.1.11.1 : Header with unnumbered class did not increment the section number and were skipped # pandoc 3.1.11.1
> pandoc --number-sections -t html
# One {-}
# Two
# Three {-}
# Four
^Z
<h1 class="unnumbered" id="one">One</h1>
<h1 data-number="1" id="two"><span
class="header-section-number">1</span> Two</h1>
<h1 class="unnumbered" id="three">Three</h1>
<h1 data-number="2" id="four"><span
class="header-section-number">2</span> Four</h1> This is quite a breaking change, and I though that This is still happening with nightly pandoc, and I found no report yet, so I want to confirm is this is really expected new behavior and we need to adapt, or if this could be unintended side effect of new 3.1.12 behavior. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
They shouldn't increment the counter, so it's a bug indeed. Please submit an issue. |
Beta Was this translation helpful? Give feedback.
They shouldn't increment the counter, so it's a bug indeed. Please submit an issue.