Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #9993, comment 21


Ignore:
Timestamp:
05/19/2015 07:01:01 AM (11 years ago)
Author:
stevenkword
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9993, comment 21

    v1 v2  
    1111The string, `<h1>`,  would be disallowed inside an XML element, but `&lt;h1>` is valid even thought `&lt;h1&gt;` would be best.
    1212
    13 The point is, properly escaped HTML is technically plain text. The only necessary addition would be an extended strip_for_xml() method such as proposed in #19998.
     13The point is, properly escaped HTML is technically plain text. The only necessary addition would be filter to encode the disallowed characters.