From:  pear-qa@lists.php.net ("webmaster@wackowiki.org")
Date:  29 Apr 2016 23:23:22 Hong Kong Time
Newsgroup:  news.php.net/php.pear.bugs
Subject:  

[PEAR-BUG] Req #21059 [Com]: new HTML5 Block-level elements patch

NNTP-Posting-Host:  null

Edit report at https://pear.php.net/bugs/bug.php?id=21059&edit=1

 ID:               21059
 Comment by:       webmaster@wackowiki.org
 Reported By:      webmaster at wackowiki dot org
 Summary:          new HTML5 Block-level elements patch
 Status:           Open
 Type:             Feature/Change Request
 Package:          HTML_Safe
 Package Version:  0.10.1
 PHP Version:      5.6.10
 Roadmap Versions: 
 New Comment:

I forgot the 'main' and 'nav' tag. 

What about the 'progress' tag?


Previous Comments:
------------------------------------------------------------------------

[2016-04-29 08:24:13] wackowiki

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',
     );
 
     /**

------------------------------------------------------------------------


-- 
Edit this bug report at https://pear.php.net/bugs/bug.php?id=21059&edit=1