[wp-trac] [WordPress Trac] #26958: Double <br> at Gallery end should be only one

WordPress Trac noreply at wordpress.org
Thu Jan 30 02:55:13 UTC 2014


#26958: Double <br> at Gallery end should be only one
--------------------------+------------------------------
 Reporter:  dway          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Gallery       |     Version:  3.8
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by bcworkz):

 This does occur when the final row is completely filled. When partially
 filled, only one occurs. What we are seeing is the end of row break next
 to the end of gallery break. Since we need to ensure the entire gallery
 always ends with at least one break, a proper solution would either need
 to suppress the usual end of row break if it is the end of gallery, or
 always output the end of row break at the end of gallery, regardless if
 the row is filled or not.

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


More information about the wp-trac mailing list