修复 部分歌词符号显示不正确 (#163)
This commit is contained in:
parent
ca181c15d1
commit
ab40071cea
@ -910,7 +910,12 @@
|
||||
var timeReg = /\[(\d{2,})\:(\d{2})(?:\.(\d{1,3}))?\]/g;
|
||||
|
||||
while(timeRegResult = timeReg.exec(line)) {
|
||||
var content = line.replace(/\[(\d{2,})\:(\d{2})(?:\.(\d{1,3}))?\]/g, '');
|
||||
var content = line.replace(/\[(\d{2,})\:(\d{2})(?:\.(\d{1,3}))?\]/g, '')
|
||||
.replace(/</g, "<")
|
||||
.replace(/>/g, ">")
|
||||
.replace(/&/g, "&")
|
||||
.replace(/"/g, '"')
|
||||
.replace(/'/g, "'");
|
||||
var min = parseInt(timeRegResult[1]);
|
||||
var sec = parseInt(timeRegResult[2]);
|
||||
var microsec = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user