Index Ai Academy
Glossary · Phase 8 · APIs

HTML sanitizer

Also written: sanitizer, sanitizers

A library that removes every HTML tag and attribute not on an allow-list, so untrusted HTML can be shown without running scripts.

Try it now

Flask does the plumbing; your code is the view and the template.

Learn it properly

Web pages with Flask · Routes, Jinja templates, a shared layout, links and error pages, tested with the test client. About 45 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write