[wp-trac] [WordPress Trac] #33351: Pre code tags not always working in Text mode

WordPress Trac noreply at wordpress.org
Wed Aug 12 17:25:24 UTC 2015


#33351: Pre code tags not always working in Text mode
----------------------------+----------------------
 Reporter:  wordpresssites  |       Owner:
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Editor          |     Version:  4.2.4
 Severity:  normal          |  Resolution:  invalid
 Keywords:  needs-patch     |     Focuses:
----------------------------+----------------------
Changes (by azaozz):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 The Text editor supports HTML. In HTML `<`, `&`, `"` and preferably `>`
 have to be entities. Otherwise it is invalid HTML :)

 These rules apply for the content of the `<pre>` tag too. If you want
 better support for typing code samples, use one of the syntax highlighting
 plugins: https://wordpress.org/plugins/syntaxhighlighter/.

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


More information about the wp-trac mailing list