mirror of
https://github.com/wukko/cobalt.git
synced 2025-01-12 11:52:12 +01:00
emoji: add space after style attribute if added
This commit is contained in:
parent
b5952f1ef9
commit
e5045df9af
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue