fix: hyperlinks opening in iframe in discussions mfe

This commit is contained in:
adeel.tajamul
2022-04-20 15:21:30 +05:00
parent 1df2c691db
commit 8c6f307de8

View File

@@ -13,7 +13,7 @@ ALLOWED_TAGS = bleach.ALLOWED_TAGS + [
]
ALLOWED_PROTOCOLS = ["http", "https", "ftp", "mailto"]
ALLOWED_ATTRIBUTES = {
"a": ["href", "title"],
"a": ["href", "title", "target", "rel"],
"img": ["src", "alt", "title", "width", "height"],
}