Skip to content

data:image/svg+xml in HEAD tries to load the embebed SVG #508

@cedeber

Description

@cedeber

Hello,

I have that in my <HEAD> in index.html:

<link
      rel="icon"
      href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.95em' font-size='80'>🏴‍☠️</text></svg>"
/>

It allows to have an emoji as favicon.

I never notice it before, but on beta 8 I had this message:

'data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.95em' font-size='80'>🏴‍☠️</text></svg>' is imported by index.html, but could not be resolved – treating it as an external dependency

Now on beta 11 it crashes saying the resource doesn't exist.

[Error: ENOENT: no such file or directory, open '/Users/cedeber/Code/eukolia-app/app/ata:image/svg+xml,<svg xmlns='http:/www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.95em' font-size='80'>🏴‍☠️</text></svg>']

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions