[wp-trac] [WordPress Trac] #2833: wpautop breaks style and script tags

WordPress Trac noreply at wordpress.org
Mon May 6 14:16:29 UTC 2019


#2833: wpautop breaks style and script tags
--------------------------------------------+-----------------------------
 Reporter:  Nazgul                          |       Owner:  (none)
     Type:  defect (bug)                    |      Status:  reopened
 Priority:  low                             |   Milestone:  Future Release
Component:  Formatting                      |     Version:  2.0.3
 Severity:  normal                          |  Resolution:
 Keywords:  wpautop has-patch dev-feedback  |     Focuses:
--------------------------------------------+-----------------------------

Comment (by aduth):

 Replying to [comment:40 adamsilverstein]:
 > @aduth Does the JavaScript implementation handle comments correctly? see
 https://core.trac.wordpress.org/ticket/2691

 The JavaScript implementation is a line-by-line direct port of the PHP
 implementation. If it's buggy in PHP, I expect it's similarly buggy in the
 JavaScript implementation (that said, I've not directly tested the
 comments behavior).

 Ideally the two implementations can be kept well in-sync. The previously-
 mentioned [https://github.com/WordPress/gutenberg/pull/15129 pull request]
 draws from the (yet-to-be-committed) patches proposed here. I could
 imagine similarly adapting from #2691 to the JavaScript implementation as
 well.

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


More information about the wp-trac mailing list