[wp-trac] [WordPress Trac] #27907: Shortcode double brackets ending on newline breaks post editor

WordPress Trac noreply at wordpress.org
Thu Apr 24 15:08:32 UTC 2014


#27907: Shortcode double brackets ending on newline breaks post editor
-----------------------------------+-----------------------------
 Reporter:  Clorith                |       Owner:  gcorne
     Type:  defect (bug)           |      Status:  assigned
 Priority:  normal                 |   Milestone:  3.9.1
Component:  TinyMCE                |     Version:  3.9
 Severity:  major                  |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:  administration
-----------------------------------+-----------------------------

Comment (by gcorne):

 I spent some time reviewing the existing patches and reading through the
 code, and I am fairly confident that the underlying issue was what amounts
 to a couple typos. In [attachment:27907.4.diff 27907.4.diff], I fixed the
 typos and adjusted the new tests. I found both the old and the new tests a
 little tricky to follow because of how they test only {{{result.index}}},
 which might be something worth revisiting.

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


More information about the wp-trac mailing list