Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.10.1

Request #21059 new HTML5 Block-level elements patch
Submitted: 2016-04-29 12:24 UTC
From: wackowiki Assigned:
Status: Open Package: HTML_Safe (version 0.10.1)
PHP Version: 5.6.10 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2016-04-29 12:24 UTC] wackowiki (Wacko Wiki)
Description: ------------ added new HTML5 Block-level elements diff --git a/wacko/lib/safehtml/safehtml.php b/wacko/lib/safehtml/safehtml.php --- a/wacko/lib/safehtml/safehtml.php +++ b/wacko/lib/safehtml/safehtml.php @@ -222,11 +222,13 @@ * @var array */ public $closeParagraph = array( - 'address', 'blockquote', 'center', 'dd', 'dir', 'div', - 'dl', 'dt', 'h1', 'h2', 'h3', 'h4', - 'h5', 'h6', 'hr', 'isindex', 'listing', 'marquee', - 'menu', 'multicol', 'ol', 'p', 'plaintext', 'pre', - 'table', 'ul', 'xmp', + 'address', 'article', 'aside', 'audio', 'blockquote', 'canvas', + 'center', 'dd', 'dir', 'div', 'dl', 'dt', + 'figure', 'figcaption', 'footer', 'h1', 'h2', 'h3', + 'h4', 'h5', 'h6', 'header', 'hr', 'isindex', + 'listing', 'marquee', 'menu', 'multicol', 'ol', 'output', + 'p', 'plaintext', 'pre', 'section', 'table', 'ul', + 'video', 'xmp', ); /**

Comments

 [2016-04-29 15:23 UTC] wackowiki (Wacko Wiki)
I forgot the 'main' and 'nav' tag. What about the 'progress' tag?