We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21b48ea commit 03fb7f0Copy full SHA for 03fb7f0
1 file changed
src/wp-includes/html-api/class-wp-html-processor.php
@@ -1434,7 +1434,7 @@ public function serialize_token(): string {
1434
*
1435
* @see https://html.spec.whatwg.org/multipage/parsing.html
1436
*/
1437
- if ( $tag_name === 'TEXTAREA' || $tag_name === 'PRE' || $tag_name === 'LISTING' ) {
+ if ( 'TEXTAREA' === $tag_name || 'PRE' === $tag_name || 'LISTING' === $tag_name ) {
1438
$html .= "\n";
1439
}
1440
0 commit comments