diff --git a/files/helpers/sanitize.py b/files/helpers/sanitize.py index fa4072a45..c6dd92956 100644 --- a/files/helpers/sanitize.py +++ b/files/helpers/sanitize.py @@ -102,6 +102,9 @@ def allowed_attributes(tag, name, value): if name == 'alt': return True return False + if tag == 'table': + if name == 'class' and value == 'table': return True + return False def build_url_re(tlds, protocols): """Builds the url regex used by linkifier