no message

This commit is contained in:
kuaifan 2022-05-25 17:00:13 +08:00
parent 3f3e4a94ff
commit 675edef0d1
6 changed files with 6 additions and 6 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
c9df4a31af5c2334
98d215c910f5969e

View File

@ -211,7 +211,7 @@ export default {
text = text.trim().replace(/(\n\x20*){3,}/g, "\n\n");
text = text.replace(/\{\{RemoteURL\}\}/g, $A.apiUrl('../'))
text = text.replace(/<p><\/p>/g, '<p><br/></p>')
text = text.replace(/(https*:\/\/)((\w|=|\?|\.|\/|&|-|:|\+|%|;)+)/g, "<a href=\"$1$2\" target=\"_blank\">$1$2</a>");
// text = text.replace(/(https*:\/\/)((\w|=|\?|\.|\/|&|-|:|\+|%|;)+)/g, "<a href=\"$1$2\" target=\"_blank\">$1$2</a>");
text = text.replace(this.atUserReg, `<span class="mention me" data-id="${this.userId}">`)
const array = text.match(/<img\s+[^>]*?>/g);
if (array) {