diff --git tests/phpunit/tests/formatting/WpHtmlSplit.php tests/phpunit/tests/formatting/WpHtmlSplit.php
index 356dcb8..f981d91 100644
|
|
class Tests_Formatting_WpHtmlSplit extends WP_UnitTestCase { |
32 | 32 | 'abcd <![CDATA[ <html> ]]> efgh', |
33 | 33 | array( 'abcd ', '<![CDATA[ <html> ]]>', ' efgh' ), |
34 | 34 | ), |
| 35 | array( |
| 36 | '<style>p[class=*"red"] { color: red; }</style> efg', |
| 37 | array( '', '<style>', 'p[class=*"red"] { color: red; }', '</style>', ' efg' ), |
| 38 | ), |
| 39 | array( |
| 40 | '<script>1 < 4</script>', |
| 41 | array( '', '<script>', '1 < 4', '</script>', '' ), |
| 42 | ), |
35 | 43 | ); |
36 | 44 | } |
37 | 45 | |