Skip to content

Commit 03fb7f0

Browse files
committed
YODA
1 parent 21b48ea commit 03fb7f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1434,7 +1434,7 @@ public function serialize_token(): string {
14341434
*
14351435
* @see https://html.spec.whatwg.org/multipage/parsing.html
14361436
*/
1437-
if ( $tag_name === 'TEXTAREA' || $tag_name === 'PRE' || $tag_name === 'LISTING' ) {
1437+
if ( 'TEXTAREA' === $tag_name || 'PRE' === $tag_name || 'LISTING' === $tag_name ) {
14381438
$html .= "\n";
14391439
}
14401440

0 commit comments

Comments
 (0)