Skip to content

Update to CommonMark 0.31.2#867

Merged
xoofx merged 5 commits intoxoofx:masterfrom
MihaZupan:commonmark-0.31.2
Apr 15, 2025
Merged

Update to CommonMark 0.31.2#867
xoofx merged 5 commits intoxoofx:masterfrom
MihaZupan:commonmark-0.31.2

Conversation

@MihaZupan
Copy link
Collaborator

@MihaZupan MihaZupan commented Apr 15, 2025

Main changes:

  • Definition of "Unicode punctuation character" has changed to also include symbol categories.
    • We were using the same helper when parsing autolinks (<http://...>) and GFM autolinks (http://...)
    • The one for AutoLinks seems to have been wrong, updated it to match the spec now
    • GitHub appears to allow symbols in its autolinks (e.g. emoji in domain name), so I tried to match that by keeping the old behavior there
  • More forms of inline raw HTML comments are allowed: <!-->, <!--->
  • search is apparently an HTML tag now

.

@xoofx xoofx merged commit 7b14e2e into xoofx:master Apr 15, 2025
1 check passed
@xoofx
Copy link
Owner

xoofx commented Apr 15, 2025

Amazing, thanks for the update! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants