We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec5776b commit 41dc4aaCopy full SHA for 41dc4aa
1 file changed
src/wp-includes/html-api/class-wp-html-processor.php
@@ -281,11 +281,13 @@ class WP_HTML_Processor extends WP_HTML_Tag_Processor {
281
*
282
* ## Current HTML Support
283
284
- * - The only supported context is `<body>`, which is the default value.
285
* - The only supported document encoding is `UTF-8`, which is the default value.
286
+ * @todo Verify that creating a fragment in self-contained elements works.
287
+ *
288
* @since 6.4.0
289
* @since 6.6.0 Returns `static` instead of `self` so it can create subclass instances.
290
+ * @since 6.7.0 Can create fragment in any context.
291
292
* @param string $html Input HTML fragment to process.
293
* @param string $context Context element for the fragment, must be default of `<body>`.
0 commit comments