diff --git a/script.js b/script.js index f31ddf3..b87dded 100644 --- a/script.js +++ b/script.js @@ -113,7 +113,7 @@ const displayPost = function(post) {
-

${DOMPurify.sanitize(post.account.display_name)} @${DOMPurify.sanitize(post.account.username)}

+

${DOMPurify.sanitize(post.account.display_name)} @${DOMPurify.sanitize(post.account.acct)}

${post.media_attachments[0] ? `` : ''}

${DOMPurify.sanitize(post.content)}

@@ -179,7 +179,7 @@ const updateCarousel = function(slides, posts) {
-

${DOMPurify.sanitize(post.account.display_name)} @${DOMPurify.sanitize(post.account.username)}

+

${DOMPurify.sanitize(post.account.display_name)} @${DOMPurify.sanitize(post.account.acct)}