Skip to content

Commit 006684d

Browse files
committed
Update explanation why type !== 'empty'
1 parent 8fb1c0f commit 006684d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/HTMLPurifier/HTMLModule/HTML5/Iframe.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function setup($config)
3131
// - https://www.w3.org/TR/html52/semantics-embedded-content.html#the-iframe-element
3232
// - https://www.w3.org/TR/html50/embedded-content-0.html#the-iframe-element
3333

34-
// contents must not be 'empty', otherwise <iframe> won't have closing tag
34+
// type must not be 'empty', otherwise <iframe> will not have an end tag
3535
$iframeContents = new HTMLPurifier_ChildDef_Empty();
3636
$iframeContents->type = 'iframe';
3737

0 commit comments

Comments
 (0)