[fix] {bg} syntax not working

This commit is contained in:
kwaroran
2023-07-26 20:57:59 +09:00
parent b4fbd4c1b4
commit 1f5ef78b89

View File

@@ -56,7 +56,7 @@ DOMPurify.addHook("uponSanitizeAttribute", (node, data) => {
})
const assetRegex = /{{(raw|img|video|audio)::(.+?)}}/g
const assetRegex = /{{(raw|img|video|audio|bg)::(.+?)}}/g
async function parseAdditionalAssets(data:string, char:character, mode:'normal'|'back'){
const db = get(DataBase)