[wp-trac] [WordPress Trac] #45684: Gutenberg breaks shortcode with nested quotes (was: Gutenberg breaks shortcode with nested parentheses)

WordPress Trac noreply at wordpress.org
Tue Dec 18 11:06:31 UTC 2018


#45684: Gutenberg breaks shortcode with nested quotes
-------------------------------------+------------------------------
 Reporter:  siggeste                 |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Editor                   |     Version:  5.0.1
 Severity:  critical                 |  Resolution:
 Keywords:  needs-patch ux-feedback  |     Focuses:
-------------------------------------+------------------------------

Comment (by siggeste):

 Yes, you're right. They're quotes, not parentheses. That's what you get
 for filing bug reports when you can hardly keep your eyes open. I've
 changed the title/summary of the ticket but I can't seem to edit my
 description. If you prefer, I can make a new ticket with a proper
 description.

 And when you say there's "a HTML view in the block editor", do you mean
 the block called Custom HTML? Because that one replaces all the single
 quotes with double ones. What works in the classic editor is not so much
 the insertion of raw html, but switching to text view (using the button in
 the top right of the editor) exposing the underlying html. I can't find
 such a toggle button in Gutenberg and since it relies on precise
 formatting I assume it will never be added either.

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


More information about the wp-trac mailing list