Open andrewjtdunn opened 6 months ago
Django has a strip_tags
functions that removes things like <\br> - https://docs.djangoproject.com/en/5.0/ref/utils/#django.utils.html.strip_tags
And python has a html.unescape
that removes the other entities: https://docs.python.org/3/library/html.html
We sometimes have html characters in our text fields. Rather than writing specific regex expressions, perhaps there is a package that does this for us? Issue appears in comments and in summaries from the federal register