Skip to content

Update to CommonMark 0.31.2 #867

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 15, 2025
Merged

Conversation

MihaZupan
Copy link
Collaborator

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