#38 Added a comment
This commit is contained in:
parent
be721815de
commit
ea67553c97
|
@ -66,6 +66,7 @@ function removeUnknownUsers(node) {
|
||||||
|
|
||||||
// add user note if own request
|
// add user note if own request
|
||||||
if (profileLink.length > 0) {
|
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 parser = new DOMParser();
|
||||||
let parsedDocument = parser.parseFromString(profileData, 'text/html');
|
let parsedDocument = parser.parseFromString(profileData, 'text/html');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue