Sign in
← Back to search

apostrophecms/sanitize-html

Clean up user-submitted HTML, preserving whitelisted elements and whitelisted attributes on a per-element basis. Built on htmlparser2 for speed and tolerance

Stars
4,130
Forks
372
Commits
731
Language
JavaScript
Awesome lists
1

Similar repositories

EmilStenstrom/justhtml

A pure Python HTML5 parser that just works. No C extensions to compile. No system dependencies to install. No complex API to learn.

1144 stars
Python 1 awesome list

pallets/markupsafe

Safely add untrusted strings to HTML/XML markup.

690 stars
Python 1 awesome list

Martin-Pitt/css-unstyle

Unstyle CSS - Forget inconsistencies, let us start with a blank slate.

34 stars
CSS 1 awesome list

cure53/DOMPurify

DOMPurify - a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify works with a secure default, but offers a lot of configurability and hooks. Demo:

17060 stars
JavaScript 1 awesome list

Tracked growth

2 captures since 2026-05-25

Latest capture 2026-06-02 03:03

Stars history

Total stars

Commits history

Default branch commits

Detected stack

Frameworks and tools

  • No framework dependencies detected.
npm

Dependency files

  • package.json · javascript · 15 dependencies

Metadata

  • Created: 2013-09-09
  • First commit: 2013-09-10
  • Last pushed: 2026-02-26
  • Archived: yes
  • Stack detected: 2026-06-02 03:03
  • License: MIT

AI development signals

No AI development config files detected.

Appears in