[wp-trac] [WordPress Trac] #20304: Strikethrough does not work for multiple paragraphs in the post editor

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 25 22:06:37 UTC 2012


#20304: Strikethrough does not work for multiple paragraphs in the post editor
-------------------------------------+------------------------------
 Reporter:  tollmanz                 |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Formatting               |     Version:  3.4
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+------------------------------
Changes (by jkudish):

 * cc: joachim.kudish@… (added)
 * keywords:  needs-patch => has-patch needs-testing
 * component:  Editor => Formatting


Comment:

 Sitting next to @tollmanz and debugging with him. We figured out that the
 problem occurs on output and traced it to wpautop. Adding del to the list
 of elements in $allblocks seems to fix the issue. The proposed/attached
 patch does exactly that. Going to test this with a few different scenarios
 to make sure it's fine now.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20304#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list