no message
Former-commit-id: 752a42da57bb8ab56d083912977bb5c337c34754 Former-commit-id: a78898adeb53db420617dab13fd11941bc6babd7 Former-commit-id: a490c540da8684f2a087e5a43e2019118284b641
This commit is contained in:
@@ -46,7 +46,9 @@ export default {
|
||||
}
|
||||
// 如果是带有密码的分享链接
|
||||
if (bdShareUrlPwd.test(quoteText)) {
|
||||
return `<div style="color: blue;">${quoteText}</div>`
|
||||
const url = quoteText.match(/https:\/\/pan\.baidu\.com\/s\/[a-z0-9]+/i)
|
||||
const pwd = quoteText.match(/[a-z0-9]{4}$/i)
|
||||
return `<div style="color: blue;">${url[0]} ${pwd[0]}</div>`
|
||||
}
|
||||
// 一般的
|
||||
return `<blockquote>${quote}</blockquote>`
|
||||
|
||||
Reference in New Issue
Block a user