high
lit
Sign in
Explain your code
Code Explainers
Code explainers tagged
#html
python
import
bleach
ALLOWED_TAGS
=
[
"
a
"
,
"
b
"
,
"
strong
"
,
"
i
"
,
"
em
"
,
"
u
"
,
Sanitizing user HTML with bleach
sanitization
xss-prevention
whitelisting
Intermediate
5 steps