Skip to content

<svelte:head> title tag order not respected #15765

Open
@zchlm

Description

@zchlm

Describe the bug

I’ve been optimising the svelte:head tag order using Capo.js, but I’ve noticed that the <title> tag does not match the order in which it is defined within the svelte:head block.

Reproduction

https://stackblitz.com/edit/sveltejs-kit-template-default-yx2a2yb4?file=src%2Froutes%2F%2Blayout.svelte

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: 20.19.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.8.2 - /usr/local/bin/npm
    pnpm: 8.15.6 - /usr/local/bin/pnpm
  npmPackages:
    @sveltejs/adapter-auto: ^4.0.0 => 4.0.0 
    @sveltejs/kit: ^2.16.0 => 2.20.5 
    @sveltejs/vite-plugin-svelte: ^5.0.0 => 5.0.3 
    svelte: ^5.25.0 => 5.25.10 
    vite: ^6.2.5 => 6.2.5

Severity

annoyance

Additional Information

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting submitterneeds a reproduction, or clarification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions