Change img to not add newline

This commit is contained in:
kwaroran
2024-09-24 09:35:17 +09:00
parent 633a4fc0e9
commit 4336291580

View File

@@ -323,7 +323,7 @@ async function parseAdditionalAssets(data:string, char:simpleCharacterArgument|c
case 'path':
return path.path
case 'img':
return `<img src="${path.path}" alt="${path.path}" style="${assetWidthString} "/>\n`
return `<img src="${path.path}" alt="${path.path}" style="${assetWidthString} "/>`
case 'image':
return `<div class="risu-inlay-image"><img src="${path.path}" alt="${path.path}" style="${assetWidthString}"/></div>\n`
case 'video':