Fix potentially unsafe external link

This commit is contained in:
Tim Donohue
2020-07-27 15:27:51 -05:00
parent 93903de1c5
commit 645a1800bb

View File

@@ -661,6 +661,7 @@ var HtmlUtil = function() {
a.append(val); a.append(val);
a.attr("href", href); a.attr("href", href);
a.attr("target", "_blank"); a.attr("target", "_blank");
a.attr("rel", "noopener noreferrer");
return a; return a;
} }