structure adjustment

This commit is contained in:
2023-04-18 17:23:09 +08:00
parent af78bf0381
commit 22dbcf8db2
25 changed files with 519 additions and 138 deletions

View File

@ -46,7 +46,7 @@ function formatUrl(msg) {
}
for (let r of rs) {
msg = msg.replaceAll(r, '<a target="_blank" href="' + r + '"><svg><use xlink:href="' + ((typeof consts !== 'undefined' && consts.path) ?? '') + 'fonts/fa-regular.svg#link"></use></svg></a>');
msg = msg.replaceAll(r, '<a target="_blank" href="' + r + '"><svg><use xlink:href="' + ((typeof consts !== 'undefined' && consts.path) || '') + 'fonts/fa-regular.svg#link"></use></svg></a>');
}
}