We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40136f6 commit 37e3597Copy full SHA for 37e3597
1 file changed
tests/phpunit/tests/html-api/wpHtmlProcessorModifiableText.php
@@ -70,6 +70,10 @@ public static function data_modifiable_text_special_pre_tags() {
70
}
71
72
/**
73
+ * The HTML Processor has special behavior when a text node starts with whitespace.
74
+ * Test that PRE and LISTING `::set_modifiable_text()` handling works correctly
75
+ * with leading whitespace.
76
+ *
77
* PRE and LISTING elements ignore the first newline in their content.
78
* Leading whitespace may split into multiple text nodes in the HTML Processor.
79
* Setting the modifiable text with a leading newline should ensure that the
0 commit comments