[wp-trac] [WordPress Trac] #27637: Remove <br>s for HTML5 galleries

WordPress Trac noreply at wordpress.org
Wed Apr 2 20:16:56 UTC 2014


#27637: Remove <br>s for HTML5 galleries
-------------------------+-----------------------
 Reporter:  obenland     |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  3.9
Component:  Media        |    Version:
 Severity:  normal       |   Keywords:  has-patch
  Focuses:               |
-------------------------+-----------------------
 HTML5 support for galleries was introduced recently (r27302). Shortly
 after that, we decided to seize the opportunity and disable default
 gallery styles, when a theme supports HTML5 galleries (r27396).

 Last week, Nacin wondered if it would make sense to also remove the `<br>`
 element, that gets inserted to force line breaks. After we weighed pros
 and cons I asked some colleagues for their opinion, and they unanimously
 agreed that we should remove them. So let's do it and improve the markup
 even further.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27637>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list