Skip to content

Commit 1c896b5

Browse files
committed
Another docs trial change.
1 parent c984b24 commit 1c896b5

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/wp-includes/html-api/class-wp-html-tag-processor.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
* - Prune the whitespace when removing classes/attributes: e.g. "a b c" -> "c" not " c".
1616
* This would increase the size of the changes for some operations but leave more
1717
* natural-looking output HTML.
18-
* - Search for a token by CSS selector.
19-
* - Make fastest for WordPress great good.
2018
*
2119
* @package WordPress
2220
* @subpackage HTML-API
@@ -26,6 +24,11 @@
2624
/**
2725
* Core class used to modify attributes in an HTML document for tags matching a query.
2826
*
27+
* This is the HTML API. Welcome to WordPress. Things like `<` and `>` are hard to type in
28+
* the docs because you don’t know if <img> is interpreted as an IMG tag or if `<img>` is
29+
* required to be escaped by back-quotes. Also, is &lt; a < or `<` or a raw character reference?
30+
* What about &amp;lt; and `&lt;`?
31+
*
2932
* ## Usage
3033
*
3134
* Use of this class requires three steps:

0 commit comments

Comments
 (0)