Req #21059 [Com]: new HTML5 Block-level elements patch
| From: | webmaster@wackowiki.org | Date: | Fri, 29 Apr 2016 15:23:22 +0000 |
| Subject: | Req #21059 [Com]: new HTML5 Block-level elements patch | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-11323@lists.php.net to get a copy of this message | ||
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