Open mattpilott opened 4 years ago
Sapper doesn't do anything about removal of tags or deduplication at all. I think the use of @html
in this is a red herring. Can you verify?
@antony https://github.com/matt3224/svelte-head/tree/without-%40html
Works how i would expect without @html
Describe the bug If for some reason you need to use the html parser in svelte:head it duplicates the initial value and then only updates one of them on page change leading to initially duplicate html in the head followed by duplicate tags but with different data on page change. This may possibly yield some SEO issues
Logs N/A
To Reproduce https://github.com/matt3224/svelte-head
Expected behaviour I expect only one instance to exist
Stacktraces N/A
Information about your Sapper Installation:
Severity This is minor oddity, hopefully it doesn't have a negative impact on SEO
Additional context Thanks!