diff --git a/app/src/plugin/index.ts b/app/src/plugin/index.ts index b2a6ba0aa..766422717 100644 --- a/app/src/plugin/index.ts +++ b/app/src/plugin/index.ts @@ -157,7 +157,7 @@ export class Plugin { public addIcons(svg: string) { const svgElement = document.querySelector(`svg[data-name="${this.name}"] defs`); if (svgElement) { - svgElement.innerHTML = svg; + svgElement.insertAdjacentHTML("beforeend", svg); } else { const lastSvgElement = document.querySelector("body > svg:last-of-type"); if (lastSvgElement) {