From 134afd5235d9eddf9033d3e9441b3e48e7f3bb4f Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Sat, 5 Aug 2023 12:37:30 +0000 Subject: [PATCH] Update src/components/WatchVideo.vue --- src/components/WatchVideo.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/WatchVideo.vue b/src/components/WatchVideo.vue index a1399e16..4db1438d 100644 --- a/src/components/WatchVideo.vue +++ b/src/components/WatchVideo.vue @@ -463,7 +463,7 @@ export default { if (!this.isEmbed) this.fetchSubscribedStatus(); const parser = new DOMParser(); - const xmlDoc = parser.parseFromString(this.video.description, "text/html"); + const xmlDoc = parser.parseFromString(this.video.description, "text/html"); xmlDoc.querySelectorAll("a").forEach(elem => { if (!elem.innerText.match(/(?:[\d]{1,2}:)?(?:[\d]{1,2}):(?:[\d]{1,2})/)) elem.outerHTML = elem