Merge pull request #30282 from openedx/inf-41

fix: hyperlinks opening in iframe in discussions mfe
This commit is contained in:
Muhammad Adeel Tajamul
2022-04-20 16:58:55 +05:00
committed by GitHub

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"],
}