File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1059,7 +1059,7 @@ public function get_current_depth(): int {
10591059 * // <div><p></p>fun<table><tbody><tr><td>cell</td></tr></tbody></table></div>
10601060 *
10611061 * echo WP_HTML_Processor::normalize( '<![CDATA[invalid comment]]> syntax < <> "oddities"' );
1062- * // <!--invalid comment--> syntax < <> "oddities"
1062+ * // <!--[CDATA[ invalid comment]] --> syntax < <> "oddities"
10631063 *
10641064 * @since 6.7.0
10651065 *
@@ -1103,7 +1103,7 @@ public static function normalize( string $html ): ?string {
11031103 *
11041104 * $processor = WP_HTML_Processor::create_fragment( '<![CDATA[invalid comment]]> syntax < <> "oddities"' );
11051105 * echo $processor->serialize();
1106- * // <!--invalid comment--> syntax < <> "oddities"
1106+ * // <!--[CDATA[ invalid comment]] --> syntax < <> "oddities"
11071107 *
11081108 * @since 6.7.0
11091109 *
You can’t perform that action at this time.
0 commit comments