We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2c715d commit f6d3a64Copy full SHA for f6d3a64
src/wp-includes/html-api/class-wp-html-attribute-token.php
@@ -60,7 +60,11 @@ class WP_HTML_Attribute_Token {
60
* Byte length of text spanning the attribute inside a tag.
61
*
62
* This span starts at the first character of the attribute name
63
- * and it ends
+ * and it ends after one of three cases:
64
+ *
65
+ * - at the end of the attribute name for boolean attributes.
66
+ * - at the end of the value for unquoted attributes.
67
+ * - at the final single or double quote for quoted attributes.
68
69
* Example:
70
0 commit comments