WordPress.org

Ready to get started?Download WordPress

Ideas

Add HTML 5 elements to $allblocks

  1. tedsz
    Member

    In wp-includes/formatting.php add HTML 5 block elements to $allblocks thus preventing wrapping of HTML 5 block level elements

    $allblocks = '(?:section|article|aside|header|footer|nav|dialog|figure|table|thead|tfoot|caption|col|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|select|form|map|area|blockquote|address|math|style|input|p|h[1-6]|hr)';

    Posted: 4 years ago #
  2. Jen Mylo
    Key Master

    Closing due to lack of community interest for over 6 months.

    Posted: 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    12345
    0 Votes
  • Status

    Sorry, not right now