[wp-trac] [WordPress Trac] #48677: Comments are attempted to be parsed as HTML

WordPress Trac noreply at wordpress.org
Sun Nov 17 15:52:08 UTC 2019


#48677: Comments are attempted to be parsed as HTML
--------------------------+------------------------------
 Reporter:  jqz           |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Comments      |     Version:  5.2.4
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by joyously):

 > No-one expects to be able to put HTML into a comment nowadays.

 This isn't true. All of the users of WordPress expect it.

 This page shows the function that you can use to find the allowed HTML
 tags.
 https://developer.wordpress.org/reference/functions/allowed_tags/

 It has historically included the `<code>` tag, so that users can put HTML
 in their comments without it being parsed as HTML. (Most themes used to
 show those allowed tags near the comment box, but that has become uncool
 or something.)

 As you say,
 > Markdown support could be provided via a plugin.

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


More information about the wp-trac mailing list