Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<link rel="apple-touch-icon"> failed to parse attribute value: variant not found #91

Open
jonfk opened this issue Dec 12, 2019 · 0 comments

Comments

@jonfk
Copy link

jonfk commented Dec 12, 2019

i am trying to add an apple favicon with the following:

<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/>

But I am getting the following error at runtime.

ERROR: <link rel="apple-touch-icon"> failed to parse attribute value: Matching variant not found
ERROR: rebuild with nightly to print source location
thread 'main' panicked at 'failed to parse string literal', src/view.rs:4:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

From what I understand, it's trying to build a LinkType for the rel attribute of the link element and since apple-touch-icon isn't a valid variant of LinkType it's failing.

Is there an escape hatch where I can put custom attributes or attribute values so that I can bypass this error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant