[wp-trac] [WordPress Trac] #48402: Preformatted blocks do not remove styled line spacing

WordPress Trac noreply at wordpress.org
Thu Nov 5 12:20:45 UTC 2020


#48402: Preformatted blocks do not remove styled line spacing
-------------------------------+------------------------------
 Reporter:  trickywidget       |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Editor             |     Version:  5.3
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by trickywidget):

 Anything in <pre></pre> tags should not be affected by the theme in any
 way.  The whole point of them is that it designates content that is
 excluded from external formatting.  Hence the bug report.  If the theme
 line height is being applied by design, then it is not preformatted and
 the block needs to be renamed.

 https://www.w3.org/TR/2011/WD-html5-author-20110809/the-pre-element.html

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48402#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list