-
Notifications
You must be signed in to change notification settings - Fork 177
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
Symbols for attribute values? #156
Comments
I just noticed that |
user=> (use 'hiccup2.core)
nil
user=> (str (html [:form {:method 'post}]))
"<form method=\"post\"></form>" Can you provide an example where quoted symbols don't work? |
It appears to be triggered by having a variable within the HTML data:
|
Thanks, I can reproduce that on master. That is a bug, and I would be interested in a PR to fix it. |
Okay, I don't have a PR at the moment. Looking at the code I can see sort of where the problem is ( |
Would you be interested in a pull request that got this to work:
Like the following already works:
The text was updated successfully, but these errors were encountered: