diff --git a/script.js b/script.js index d6058e7..7b106c5 100644 --- a/script.js +++ b/script.js @@ -77,11 +77,11 @@ const displayPost = function(post) {
${post.account.display_name}
+${DOMPurify.sanitize(post.account.display_name)}
${post.content}
- ${post.spoiler_text ? `${post.spoiler_text}
` : ''} +${DOMPurify.sanitize(post.content)}
+ ${post.spoiler_text ? `${DOMPurify.sanitize(post.spoiler_text)}
` : ''}