Skip to content

{@html} is not hydrating properly SVG #8904

@PudottaPommin

Description

@PudottaPommin

Describe the bug

I'm using Unplugin Icons with Tabler Icons. On page load, I see all icons loaded properly. When I change page to different one, all icons disappear until I do full page reload.

With some local testing, I figured, that this problem relates to this change. When I revert it back, everything works as expected.

Providing link to Svelte compiler of unplugin.

Reproduction

Stackblitz reproduction

Logs

No response

System Info

System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 16.20.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 9.4.2 - /usr/local/bin/npm
    pnpm: 8.6.3 - /usr/local/bin/pnpm
  npmPackages:
    svelte: ^4.0.3 => 4.0.3

Severity

blocking an upgrade

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcompilerChanges relating to the compiler

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions