Skip to content
#

html-module

Here are 2 public repositories matching this topic...

Language: All
Filter by language

Takes a string containing HTML and strips all dangerous content: <script> tags, onclick attributes, JavaScript: URLs, CSSexpression() attacks, data URIs, and iframe injections. Preserves safe formatting tags (<p>, <b>, <i>, <a> with a validated href) if the user wants them, or strips everything to plain text

  • Updated Apr 4, 2026
  • Python

Improve this page

Add a description, image, and links to the html-module topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the html-module topic, visit your repo's landing page and select "manage topics."

Learn more