You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to prevent users from using the h1 tag since the contents they provide will be used as the input for another webpage (and we would prefer not to have a large number of h1s floating around on this page).
In the documentation, I have found ALLOWED_HTML_TAGS but it's not clear to me if this is only internal or if I am able to override it. However, trying to override it inside my base.py file did not have an impact.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to prevent users from using the
h1
tag since the contents they provide will be used as the input for another webpage (and we would prefer not to have a large number ofh1
s floating around on this page).In the documentation, I have found
ALLOWED_HTML_TAGS
but it's not clear to me if this is only internal or if I am able to override it. However, trying to override it inside my base.py file did not have an impact.Any ideas? Thanks ✌️
Beta Was this translation helpful? Give feedback.
All reactions