Skip to content

Conversation

@dmsnell
Copy link
Member

@dmsnell dmsnell commented Sep 11, 2025

Trac ticket: Core-63694
Replaces #6651
See: #9270, #9850, (#9851)

@github-actions
Copy link

Test using WordPress Playground

The changes in this pull request can previewed and tested using a WordPress Playground instance.

WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser.

Some things to be aware of

  • The Plugin and Theme Directories cannot be accessed within Playground.
  • All changes will be lost when closing a tab with a Playground instance.
  • All changes will be lost when refreshing the page.
  • A fresh instance is created each time the link below is clicked.
  • Every time this pull request is updated, a new ZIP file containing all changes is created. If changes are not reflected in the Playground instance,
    it's possible that the most recent build failed, or has not completed. Check the list of workflow runs to be sure.

For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation.

Test this pull request with WordPress Playground.

@dmsnell dmsnell force-pushed the html-api/html-split-misc branch 8 times, most recently from fcede06 to baf40ad Compare September 18, 2025 19:59
@dmsnell dmsnell force-pushed the html-api/html-split-misc branch 5 times, most recently from 6eb2f76 to 6d78c55 Compare September 25, 2025 18:47
@dmsnell dmsnell force-pushed the html-api/html-split-misc branch 5 times, most recently from a87ebf9 to 9780646 Compare October 6, 2025 21:18
@dmsnell dmsnell force-pushed the html-api/html-split-misc branch 4 times, most recently from 0cbe10b to f02081b Compare October 9, 2025 23:39
@dmsnell dmsnell force-pushed the html-api/html-split-misc branch 3 times, most recently from 64f1835 to 7567951 Compare October 21, 2025 09:04
@dmsnell dmsnell force-pushed the html-api/html-split-misc branch from 7567951 to 7d26cd2 Compare October 21, 2025 09:23
@dmsnell dmsnell force-pushed the html-api/html-split-misc branch from 7d26cd2 to be5d9d6 Compare November 24, 2025 20:25
Trac ticket: Core-63694

This probably improves the performance in terms of both CPU time and
memory compared to the old PCRE-based approach.
Was detecting a non-escaped `<` as the start of an “element” and
then replaced a newline in the text as `<!-- wpnl -->` since it
thought it was replacing inside a tag. In the end that translated
into a raw `\n` again in the end.
@dmsnell dmsnell force-pushed the html-api/html-split-misc branch from be5d9d6 to 88a5a7a Compare December 18, 2025 03: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.

1 participant