We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is there a way to include unescaped text in html? For example,
await html`<div url=${'/path/to/thing?fred=1&ggg=abc'}>`
returns a url with an encoded &:
&
<!DOCTYPE html><html><head></head><body><div url="/path/to/thing?fred=1&ggg=abc"></div></body></html>'
The text was updated successfully, but these errors were encountered:
@chrisaustinGFK I think this is totally fine as it is totally valid to encode symbols in a URL.
When the browser parses the HTML, it will render it correctly (see below for the DOM content).
Sorry, something went wrong.
No branches or pull requests
Is there a way to include unescaped text in html?
For example,
returns a url with an encoded
&
:The text was updated successfully, but these errors were encountered: