-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an XML serializer. #21
Commits on Sep 11, 2024
-
HTML API: Add normalization functions.
The HTML Processor understands HTML regardless of how it's written, but many other functions are unable to do so. There are all sorts of syntax peculiarities and semantics that would be helpful to eliminate using the knowledge contained in the HTML Processor. This patch introduces `WP_HTML_Processor::normalize( $html )` as a method which takes a fragment of HTML as input and then returns a serialized version of the input, "cleaning it up" by balancing all tags, providing all missing optional tags, re-encoding all text, removing all duplicate attributes, and double-quote-escaping all attribute values. Core-62036
Configuration menu - View commit details
-
Copy full SHA for d372c97 - Browse repository at this point
Copy the full SHA d372c97View commit details -
Configuration menu - View commit details
-
Copy full SHA for 07e89bb - Browse repository at this point
Copy the full SHA 07e89bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 754118e - Browse repository at this point
Copy the full SHA 754118eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c6e34c - Browse repository at this point
Copy the full SHA 9c6e34cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f5783e - Browse repository at this point
Copy the full SHA 7f5783eView commit details -
Progressive tense for function summaries.
Co-authored-by: Weston Ruter <westonruter@git.wordpress.org>
Configuration menu - View commit details
-
Copy full SHA for 2aa89fa - Browse repository at this point
Copy the full SHA 2aa89faView commit details -
Leave space before self-closing flag to avoid later problems.
If code later in the processing pipeline adds unquoted attributes and doesn't add the requisite space following that, then another parser might find that the solidus is part of the attribute value instead of serving as a self-closing flag. Co-authored-by: Weston Ruter <westonruter@git.wordpress.org>
Configuration menu - View commit details
-
Copy full SHA for 7029b25 - Browse repository at this point
Copy the full SHA 7029b25View commit details -
Expand support for bogus comments.
Co-authored-by: Weston Ruter <westonruter@git.wordpress.org>
Configuration menu - View commit details
-
Copy full SHA for 00a5773 - Browse repository at this point
Copy the full SHA 00a5773View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99799b7 - Browse repository at this point
Copy the full SHA 99799b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for db24c11 - Browse repository at this point
Copy the full SHA db24c11View commit details -
Co-authored-by: Weston Ruter <westonruter@git.wordpress.org>
Configuration menu - View commit details
-
Copy full SHA for 7b8aa53 - Browse repository at this point
Copy the full SHA 7b8aa53View commit details -
Change error level to warning.
Co-authored-by: Weston Ruter <westonruter@git.wordpress.org>
Configuration menu - View commit details
-
Copy full SHA for 18b5005 - Browse repository at this point
Copy the full SHA 18b5005View commit details -
Configuration menu - View commit details
-
Copy full SHA for f914c3f - Browse repository at this point
Copy the full SHA f914c3fView commit details
Commits on Sep 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4721aa2 - Browse repository at this point
Copy the full SHA 4721aa2View commit details
Commits on Sep 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9bad471 - Browse repository at this point
Copy the full SHA 9bad471View commit details