Class HTMLPurifier_Strategy_MakeWellFormed

extends HTMLPurifier_Strategy

Takes tokens makes them well-formed (balance end tags, etc.)

Specification of the armor attributes this strategy uses:

  • MakeWellFormed_TagClosedError: This armor field is used to suppress tag closed errors for certain tokens [TagClosedSuppress], in particular, if a tag was generated automatically by HTML Purifier, we may rely on our infrastructure to close it for us and shouldn't report an error to the user [TagClosedAuto].
Methods
Properties