[wp-trac] [WordPress Trac] #37693: TinyMCE: backtics not handled correctly in paragraphs that already contain backticks
WordPress Trac
noreply at wordpress.org
Wed Aug 17 14:27:27 UTC 2016
#37693: TinyMCE: backtics not handled correctly in paragraphs that already contain
backticks
--------------------------+-----------------------------
Reporter: borekb | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: TinyMCE | Version: 4.6
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Steps to reproduce:
1. Have a paragraph that contains literal backticks. For example, copy
this to TinyMCE: {{{ In this paragraph with `backticks`, try to add some
more. }}}
2. Anywhere in this paragraph, enter {{{`test`}}} and press a spacebar.
It should convert it to `<code>test</code>` but it doesn't.
My guess is that a regex or something similar doesn't handle multiple
backtics in a paragraph correctly.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37693>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list