mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 15:31:42 +01:00
HTML API: Restore mistakenly-removed content in documentation.
In [55718] the Unicode replacement character was mistakenly removed. The purpose of including the character was to communicate what it looks like and why the Tag Processor won't insert it into the document. This changeset brings the character back and adds a small clue to fix the confusion that may lead to its removal. Follow-up to [55718]. Props dmsnell. Fixes #58256 See #57840. Built from https://develop.svn.wordpress.org/trunk@55723 git-svn-id: http://core.svn.wordpress.org/trunk@55235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f2d315036b
commit
3911398ec5
@ -229,11 +229,11 @@
|
||||
* The Tag Processor's design incorporates a "garbage-in-garbage-out" philosophy.
|
||||
* HTML5 specifies that certain invalid content be transformed into different forms
|
||||
* for display, such as removing null bytes from an input document and replacing
|
||||
* invalid characters with the Unicode replacement character `U+FFFD`. Where errors
|
||||
* or transformations exist within the HTML5 specification, the Tag Processor leaves
|
||||
* those invalid inputs untouched, passing them through to the final browser to handle.
|
||||
* While this implies that certain operations will be non-spec-compliant, such as
|
||||
* reading the value of an attribute with invalid content, it also preserves a
|
||||
* invalid characters with the Unicode replacement character `U+FFFD` (visually "<EFBFBD>").
|
||||
* Where errors or transformations exist within the HTML5 specification, the Tag Processor
|
||||
* leaves those invalid inputs untouched, passing them through to the final browser
|
||||
* to handle. While this implies that certain operations will be non-spec-compliant,
|
||||
* such as reading the value of an attribute with invalid content, it also preserves a
|
||||
* simplicity and efficiency for handling those error cases.
|
||||
*
|
||||
* Most operations within the Tag Processor are designed to minimize the difference
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.3-alpha-55721';
|
||||
$wp_version = '6.3-alpha-55723';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user