diff --git a/lms/djangoapps/discussion/rest_api/render.py b/lms/djangoapps/discussion/rest_api/render.py index 303b26299c..fb302423c8 100644 --- a/lms/djangoapps/discussion/rest_api/render.py +++ b/lms/djangoapps/discussion/rest_api/render.py @@ -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"], }