XHTML Markup Sanitizer

Takes untrusted (X)HTML and massages it into real, trusted XHTML
Download

XHTML Markup Sanitizer Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Ms-PL
  • Publisher Name:
  • Tatham Oddie
  • Operating Systems:
  • Windows All
  • File Size:
  • 23 KB

XHTML Markup Sanitizer Tags


XHTML Markup Sanitizer Description

The XHTML Markup Sanitizer was developed to take untrusted (X)HTML and massages it into real, trusted XHTML. While plenty of effort goes into preserving the original intent, markup validity and safety is the first priority. It's particularly useful with content management systems where users are in control of markup, but you want to target XHTML1.1. The sanitizer is based on a whitelist approach and employs the AntiXSS library. Unknown tags and attributes are stripped. Special characters are encoded (without causing double encoding either). Encoding is context aware too, so text within attributes will be encoded more aggressively.


XHTML Markup Sanitizer Related Software