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

  ID: 21059
  Comment by: webmaster@wackowiki.org
  Reported By: webmaster@wackowiki.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',
      );

      /**

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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
grouppear-bugs @
categoriesphp
postedApr 29, '16 at 3:22p
activeApr 29, '16 at 3:22p
posts1
users1
websitepear.php.net

1 user in discussion

Webmaster: 1 post

People

Translate

site design / logo © 2022 Grokbase