Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #60698, comment 10


Ignore:
Timestamp:
05/13/2024 10:42:13 PM (6 months ago)
Author:
dmsnell
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #60698, comment 10

    initial v1  
    44
    55We will maintain an additional library, but I do see value in it beyond the HTML API, which is why I am proposing it as a separate addition. Its use may be limited, but I was exploring Emoji replacement on WordPress.com and found some obvious use for the very purpose of the token map: quick lookup for low-overhead matching and replacement.
     6
     7Also, the HTML5 specification guarantees that the list of named character references will never change. No more will be added. None will be removed.
    68
    79> Not sure why the diff isn't clear, but it's hard to tell which tests are now passing in tests/phpunit/tests/html-api/wpHtmlProcessorHtml5lib.php that would have failed before but now are passing.