鏡像自
https://github.com/ialley-workshop-open/uni-halo.git
已同步 2026-06-12 13:19:31 +08:00
fix: 修复瞬间内容中的图片视频无法展示问题
此提交包含在:
@@ -251,9 +251,9 @@ export default {
|
|||||||
const regex = /<a\s+(?:[^>]*?\s+)?class=(['"])[^'"]*?\btag\b[^'"]*?\1[^>]*?>.*?<\/a>/gi;
|
const regex = /<a\s+(?:[^>]*?\s+)?class=(['"])[^'"]*?\btag\b[^'"]*?\1[^>]*?>.*?<\/a>/gi;
|
||||||
const newHtml = htmlString.replace(regex, '');
|
const newHtml = htmlString.replace(regex, '');
|
||||||
return newHtml
|
return newHtml
|
||||||
.replace(/<[^>]+>\s*<\/[^>]+>/g, '')
|
// .replace(/<[^>]+>\s*<\/[^>]+>/g, '')
|
||||||
.replace(/\s+/g, ' ')
|
// .replace(/\s+/g, ' ')
|
||||||
.trim();
|
// .trim();
|
||||||
},
|
},
|
||||||
randomTagColor() {
|
randomTagColor() {
|
||||||
if (!this.calcUseTagRandomColor) return "blue";
|
if (!this.calcUseTagRandomColor) return "blue";
|
||||||
|
|||||||
新增問題並參考
封鎖使用者