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
phx_link
Describe the bug Tags passed to phx_link should generate unescaped html but don't.
To Reproduce
phx_link to: "/" do h1 "Hello World" p "Lorem Ipsum" end
Expected behavior The unescaped html should be wrapped in the link tag and not be escaped
Screenshots
The text was updated successfully, but these errors were encountered:
I think the problem here are these lines:
temple/lib/temple/link.ex
Line 14 in 26bd319
We should be passing in the whole tagged tuple into the phoenix_html function to avoid double escaping.
Sorry, something went wrong.
This is being tested as an expected behavior
temple/test/temple/link_test.exs
Lines 31 to 47 in 26bd319
Successfully merging a pull request may close this issue.
Describe the bug
Tags passed to
phx_link
should generate unescaped html but don't.To Reproduce
Expected behavior
The unescaped html should be wrapped in the link tag and not be escaped
Screenshots
The text was updated successfully, but these errors were encountered: