From 50d37c486c0f038656dd39f3e829025810c7400a Mon Sep 17 00:00:00 2001 From: scientificworld <30764166+scientificworld@users.noreply.github.com> Date: Fri, 29 Dec 2023 01:36:18 -0500 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86=E7=BD=91?= =?UTF-8?q?=E6=98=93=E4=BA=91=E6=AD=8C=E6=9B=B2=E7=9A=84=E6=AD=8C=E8=AF=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98=20(#1142)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: netease lyric issue * fix * fix * unify regex --- js/controller/play.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/controller/play.js b/js/controller/play.js index 9fb96918..733d4c68 100644 --- a/js/controller/play.js +++ b/js/controller/play.js @@ -430,7 +430,7 @@ angular.module('listenone').controller('PlayController', [ }; timeResult.push({ content: line - .replace(timeRegResult[0], '') + .replace(/\[(\d{2,})\:(\d{2})(?:\.(\d{1,3}))?\]/g, '') .replace( /&(?:amp|lt|gt|quot|#39|apos);/g, (match) => htmlUnescapes[match]