2
0
mirror of https://github.com/iconify/iconify.git synced 2024-12-13 14:13:06 +00:00

chore: add hint to keep space on <svg >

This commit is contained in:
Joaquín Sánchez Jiménez 2022-02-26 17:02:00 +01:00
parent bbe56e3199
commit 7b5ccb13b6

View File

@ -33,7 +33,8 @@ export async function searchForIcon(
: defaultCustomizations : defaultCustomizations
); );
return await mergeIconProps( return await mergeIconProps(
`<svg>${body}</svg>`, // DON'T remove space on <svg >
`<svg >${body}</svg>`,
collection, collection,
id, id,
additionalProps, additionalProps,