mirrored from git://develop.git.wordpress.org/
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KSES: Replace attribute parsing with HTML API.
In this patch several kses functions have been rewritten to rely on the spec-compliant parsing made available in the HTML API. These functions convert HTML input into an array of parsed attribute values. By relying on the HTML API it's possible to recognize the HTML in the same way that a browser would, removing a layer of custom interpretation, full of discrepancies and bugs.
- Loading branch information
Showing
1 changed file
with
73 additions
and
194 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters