[fix] {bg} syntax not working
This commit is contained in:
@@ -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'){
|
async function parseAdditionalAssets(data:string, char:character, mode:'normal'|'back'){
|
||||||
const db = get(DataBase)
|
const db = get(DataBase)
|
||||||
|
|||||||
Reference in New Issue
Block a user