[wp-trac] [WordPress Trac] #42224: Custom HTML widget is flagging errors on non-HTML

WordPress Trac noreply at wordpress.org
Sun Oct 15 20:31:47 UTC 2017


#42224: Custom HTML widget is flagging errors on non-HTML
--------------------------+------------------------------
 Reporter:  joyously      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Widgets       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  close         |     Focuses:
--------------------------+------------------------------

Comment (by westonruter):

 It's essentially a coincidence that the ASCII art works even though it is
 invalid HTML. If the angle brackets were combined with any letter
 characters then the browser would start interpreting it as an HTML tag. I
 think the Custom HTML widget's behavior here is correct.

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


More information about the wp-trac mailing list