You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CoreMarkdownNodeRenderer.visit(Text text) method will escape it and prevent the content tabs from rendering correctly because it suspects them to be Setext Headers, the comment says: "Would be ambiguous with a Setext heading, escape"
Steps to reproduce the problem (provide example Markdown if applicable):
Try to load and render an example from: https://squidfunk.github.io/mkdocs-material/reference/content-tabs/
The CoreMarkdownNodeRenderer.visit(Text text) method will escape it and prevent the content tabs from rendering correctly because it suspects them to be Setext Headers, the comment says: "Would be ambiguous with a Setext heading, escape"
commonmark-java/commonmark/src/main/java/org/commonmark/renderer/markdown/CoreMarkdownNodeRenderer.java
Line 369 in 7d12b6f
Is it possible to allow the content tab headers to render correctly without being escaped?
Expected behavior:
Actual behavior:
(Also see what the reference implementation does: https://spec.commonmark.org/dingus/)
The text was updated successfully, but these errors were encountered: