Skip to content

Update to spec 0.31.2#1009

Merged
puzrin merged 2 commits into
markdown-it:masterfrom
notriddle:spec-0.31.2
Mar 2, 2024
Merged

Update to spec 0.31.2#1009
puzrin merged 2 commits into
markdown-it:masterfrom
notriddle:spec-0.31.2

Conversation

@notriddle

Copy link
Copy Markdown
Contributor

The spec update changes these things:

  • It simplifies the HTML regex so that <!-- a -- b --> is an HTML comment. HTML5 reports this as an error, but still parses it.
  • It changes the set of known HTML block elements to match HTML5, adding search and removing source.
  • It adds Unicode Symbols to the set of punctuation characters that are used to evaluate flankingness. This is blocked on Add Symbol category uc.micro#15

This commit also changes the declaration HTML regex to match lowercase, even though that change was technically made in spec version 0.30.

@rlidwka

rlidwka commented Mar 2, 2024

Copy link
Copy Markdown
Member

This is blocked on markdown-it/uc.micro#15

Blocker should be resolved.

Can you please rebase and update pull request?

@rlidwka

rlidwka commented Mar 2, 2024

Copy link
Copy Markdown
Member

Also, can you move actual code changes and spec update to separate commits, if that's too not much of a trouble? (i.e. one commit with test/fixtures/commonmark/* and another with everything else)

The spec update changes these things:

* It simplifies the HTML regex so that `<!-- a -- b -->` is an HTML
  comment. HTML5 reports this as an error, but still parses it.
* It changes the set of known HTML block elements to match HTML5, adding
  `search` and removing `source`.
* It adds Unicode Symbols to the set of punctuation characters that are
  used to evaluate flankingness.

This commit also changes the declaration HTML regex to match lowercase,
even though that change was technically made in spec version 0.30.
@notriddle

notriddle commented Mar 2, 2024

Copy link
Copy Markdown
Contributor Author

@rlidwka no problem! 👍

@puzrin puzrin merged commit d7ce5ec into markdown-it:master Mar 2, 2024
@notriddle notriddle deleted the spec-0.31.2 branch March 2, 2024 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants