aboutsummaryrefslogtreecommitdiff
path: root/src/js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js')
-rw-r--r--src/js/arching-kaos-tools.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/arching-kaos-tools.js b/src/js/arching-kaos-tools.js
index 3d5b1d1..e704eb7 100644
--- a/src/js/arching-kaos-tools.js
+++ b/src/js/arching-kaos-tools.js
@@ -507,7 +507,7 @@ function getipfstext(ipfs,articleid){
lines.splice(0,1);
// join the array back into a single string
var newtext = lines.join('\n');
- pre.innerHTML = marked.parse(newtext);
+ pre.innerHTML = DOMPurify.sanitize(marked.parse(newtext));
divs.appendChild(pre);
}
progressPlaceholder.max++;