#38 Added a comment

This commit is contained in:
Serraniel 2020-09-11 20:37:08 +02:00
parent be721815de
commit ea67553c97
Signed by: Serraniel
GPG key ID: 3690B4E7364525D3

View file

@ -66,6 +66,7 @@ function removeUnknownUsers(node) {
// add user note if own request
if (profileLink.length > 0) {
// Workaround to avoid innerHTML because of #38, see https://devtidbits.com/2017/12/06/quick-fix-the-unsafe_var_assignment-warning-in-javascript/
let parser = new DOMParser();
let parsedDocument = parser.parseFromString(profileData, 'text/html');