WordPress.org

Make WordPress Core

Ticket #6870: 6870.diff

File 6870.diff, 705 bytes (added by solarissmoke, 4 years ago)

q elements are nestable

  • wp-includes/formatting.php

     
    10031003        $tagqueue = ''; 
    10041004        $newtext = ''; 
    10051005        $single_tags = array('br', 'hr', 'img', 'input'); // Known single-entity/self-closing tags 
    1006         $nestable_tags = array('blockquote', 'div', 'span'); // Tags that can be immediately nested within themselves 
     1006        $nestable_tags = array('blockquote', 'div', 'span', 'q'); // Tags that can be immediately nested within themselves 
    10071007 
    10081008        // WP bug fix for comments - in case you REALLY meant to type '< !--' 
    10091009        $text = str_replace('< !--', '<    !--', $text);