← Back to browse
sanitize_html
v2.2.0 · published by google.dev · last published 3mo ago
Function for sanitizing HTML to prevent XSS by restrict elements and attributes to a safe subset of allowed values.
160/ 160
null-safe
WASM ready
Dart 3
Apache-2.0
Pub Score
160 / 160
30-day downloads
878.9k
Likes
52
52-week downloads
8.8M
Weekly downloads (last 52 weeks)
Platform support
Android
iOS
Web
Windows
macOS
Linux
- Dart SDK
- ^3.5.0
- Flutter SDK
- Dartdoc coverage
- 50%
- Published
- Jul 7, 2026
Dependencies
Topics
#security
#html