[wp-trac] [WordPress Trac] #27907: Shortcode double brackets ending on newline breaks post editor
WordPress Trac
noreply at wordpress.org
Thu Apr 24 06:32:02 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 Clorith):
I took the combined patch @jorbin made with the additional unit tests and
changed the js fix slightly (the original had an awkward double comma I
hadn't spotted for the comments).
I think it's better to check if the match is defined once instead of
checking it with each if statement as well, it's the little things.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27907#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list