Skip to content

New pandoc 3.8.3 breaks '<sup>' syntax #13925

@cderv

Description

@cderv

Found by looking at new Quarto website after 1.9.17 release

Image

This is a change in Pandoc 3.8.3 we missed. Here is the comparaison between 3.6.3 in Quarto 1.8 and 3.8.3 in new 1.9

text <- "# Welcome to Quarto^[®]{.trademark}^ {.mt-1}"
pandoc::pandoc_convert(text = text, to = "html", version = "3.6.3")
#> <h1 class="mt-1" id="welcome-to-quarto">Welcome to Quarto<sup><span
#> class="trademark">®</span></sup></h1>
pandoc::pandoc_convert(text = text, to = "html", version = "3.8.3")
#> <h1 class="mt-1" id="welcome-to-quarto.trademark">Welcome to Quarto<a
#> href="#fn1" class="footnote-ref" id="fnref1"
#> role="doc-noteref"><sup>1</sup></a>{.trademark}^</h1>
#> <section id="footnotes" class="footnotes footnotes-end-of-document"
#> role="doc-endnotes">
#> <hr />
#> <ol>
#> <li id="fn1"><p>®<a href="#fnref1" class="footnote-back"
#> role="doc-backlink">↩︎</a></p></li>
#> </ol>
#> </section>

So we need document this change and maybe find a way to avoid breakage for users ?

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpandoc

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions