mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-25 18:48:57 +01:00
f9776f536f
Since [60428] the Tag Processor has been misidentifying single-character funky comments. It has been asserting that the full token-length for a funky comment must be at least three characters after the opening (e.g. `</1>`), but it has been starting to look for the closing `>` after those same three characters. This means that it has been skipping the actual close of these funky comments and swallowing up the next syntax until it finds a `>`, often consuming the next tag in the process. This patch fixes the detector and restores finding the following token. Developed in https://github.com/WordPress/wordpress-develop/pull/6412 Discussed in https://core.trac.wordpress.org/ticket/60170 Follow-up to [60428]. Fixes #60170. Props dmsnell, gziolo, jonsurrell. Built from https://develop.svn.wordpress.org/trunk@58040 git-svn-id: http://core.svn.wordpress.org/trunk@57506 1a063a9b-81f0-0310-95a4-ce76da25c4cd |
||
---|---|---|
.. | ||
class-wp-html-active-formatting-elements.php | ||
class-wp-html-attribute-token.php | ||
class-wp-html-open-elements.php | ||
class-wp-html-processor-state.php | ||
class-wp-html-processor.php | ||
class-wp-html-span.php | ||
class-wp-html-tag-processor.php | ||
class-wp-html-text-replacement.php | ||
class-wp-html-token.php | ||
class-wp-html-unsupported-exception.php |