[wp-trac] [WordPress Trac] #42222: editor removing pre tag

WordPress Trac noreply at wordpress.org
Sun Feb 25 17:24:21 UTC 2018


#42222: editor removing pre tag
--------------------------+------------------------------
 Reporter:  joyously      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Editor        |     Version:  4.9
 Severity:  normal        |  Resolution:
 Keywords:  close         |     Focuses:
--------------------------+------------------------------

Comment (by dbodnariuc):

 I am also facing the same problem.
 I use <pre> tag to tell WP I have some code and to not modify it.
 When I switch to visual editor, the <pre> tag gets stripped and the code
 is modified.

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


More information about the wp-trac mailing list