What's your favorite alternative to bleach for sanitizing HTML?

This page summarizes the projects mentioned and recommended in the original post on /r/django

Scout Monitoring - Free Django app performance insights with Scout Monitoring
Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.
www.scoutapm.com
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
  • bleach

    Bleach is an allowed-list-based HTML sanitizing library that escapes or strips markup and attributes

    I noticed via the changelog for Django 4.2.2 that bleach is deprecated (Django removed mention of it from their docs).

  • Scout Monitoring

    Free Django app performance insights with Scout Monitoring. Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.

    Scout Monitoring logo
  • html-sanitizer

    Allowlist-based HTML cleaner (by matthiask)

    html-sanitizer

  • ammonia

    Repair and secure untrusted HTML

    nh3 which is a python binding for the Rust-based ammonia

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • WhatWeb: Next Generation Web Scanner

    1 project | news.ycombinator.com | 15 Jul 2024
  • How to Implement Rate Limiting in Express for Node.js

    4 projects | dev.to | 17 Apr 2024
  • Show HN: German-Language Diceware

    1 project | news.ycombinator.com | 29 Mar 2024
  • Lastpass....

    1 project | /r/whitecoatinvestor | 8 Dec 2023
  • Cilium: eBPF powered CNI, a NOS Solution for Modern Clouds

    3 projects | dev.to | 27 Jul 2022