From 98555f14bfb7344287498d3382a39ffe1bf1e5f4 Mon Sep 17 00:00:00 2001 From: dimden Date: Sun, 18 Sep 2022 21:08:39 +0300 Subject: [PATCH] forgot to escape --- layouts/header/script.js | 4 ++-- manifest.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/header/script.js b/layouts/header/script.js index 31bc3d43..2b07925e 100644 --- a/layouts/header/script.js +++ b/layouts/header/script.js @@ -1185,11 +1185,11 @@ setTimeout(async () => {
-

${user.name}

+

${escapeHTML(user.name)}

@${user.screen_name}

- ${user.description} + ${escapeHTML(user.description)}
diff --git a/manifest.json b/manifest.json index f20cf955..e8a402b0 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "name": "Old Twitter Layout (2022)", "description": "A new extension that returns old Twitter's look.", - "version": "1.5.8.1", + "version": "1.5.8.2", "manifest_version": 3, "homepage_url": "https://github.com/dimdenGD/OldTwitter", "background": {