ktmud commented on code in PR #20908: URL: https://github.com/apache/superset/pull/20908#discussion_r932745571
########## superset/reports/notifications/email.py: ########## @@ -38,6 +39,31 @@ TABLE_TAGS = ["table", "th", "tr", "td", "thead", "tbody", "tfoot"] TABLE_ATTRIBUTES = ["colspan", "rowspan", "halign", "border", "class"] +ALLOWED_TAGS = [ + "a", + "abbr", + "acronym", + "b", + "blockquote", + "br", + "code", + "div", + "em", + "i", + "li", + "ol", + "p", + "strong", + "ul", +] + TABLE_TAGS Review Comment: This is basically `bleach.ALLOWED_TAGS + ["br", "p", "div"]`. Enumerate all of them so you don't have to jump to the source code of `bleach` to see the full list. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
