优化歌词特殊字符移除
parent
ef52cd6991
commit
493f7809a4
|
@ -2,7 +2,7 @@ import { httpFetch } from '../../request'
|
||||||
import { decodeLyric } from './util'
|
import { decodeLyric } from './util'
|
||||||
import { decodeName } from '../..'
|
import { decodeName } from '../..'
|
||||||
|
|
||||||
const headExp = /^.*\[id:\$00000000\]\n/
|
const headExp = /^.*\[id:\$\w+\]\n/
|
||||||
|
|
||||||
const parseLyric = str => {
|
const parseLyric = str => {
|
||||||
str = str.replace(/\r/g, '')
|
str = str.replace(/\r/g, '')
|
||||||
|
|
Loading…
Reference in New Issue