mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-12 03:34:26 +02:00
emoji: add space after style attribute if added
This commit is contained in:
parent
b5952f1ef9
commit
e5045df9af
@ -62,5 +62,5 @@ export default function(emoji, size, disablePadding, fluent) {
|
||||
|
||||
let filePath = `emoji/${names[emoji]}.svg`;
|
||||
if (fluent) filePath = `emoji/3d/${names[emoji]}.svg`;
|
||||
return `<img class="emoji" draggable=false height="${size}" width="${size}" ${padding ? `style="${padding}"` : ''}alt="${emoji}" src="${filePath}" loading="lazy">`
|
||||
return `<img class="emoji" draggable=false height="${size}" width="${size}" ${padding ? `style="${padding}" ` : ''}alt="${emoji}" src="${filePath}" loading="lazy">`
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user