Skip to content

Commit e97b2a0

Browse files
committed
Fix failing tests
1 parent d9c046d commit e97b2a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/phpunit/tests/html-api/wpHtmlTagProcessorModifiableText.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,8 +488,8 @@ public static function data_unallowed_modifiable_text_updates() {
488488
return array(
489489
'Comment with -->' => array( '<!-- this is a comment -->', 'Comments end in -->' ),
490490
'Comment with --!>' => array( '<!-- this is a comment -->', 'Invalid but legitimate comments end in --!>' ),
491-
'SCRIPT with </script>' => array( '<script>Replace me</script>', 'Just a </script>' ),
492-
'SCRIPT with </script attributes>' => array( '<script>Replace me</script>', 'before</script id=sneak>after' ),
491+
'SCRIPT with </script>' => array( '<script type="text/xml">Replace me</script>', 'Just a </script>' ),
492+
'SCRIPT with </script attributes>' => array( '<script language="plaintext">Replace me</script>', 'before</script id=sneak>after' ),
493493
);
494494
}
495495
}

0 commit comments

Comments
 (0)