-
Notifications
You must be signed in to change notification settings - Fork 2
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
_hs escapes quotes. #2
Comments
Yes, thank you for pointing this out. I noticed this in my own project and it was annoying. I will fix this soon. Just been busy with other things. After this gets sorted out, I'd like to work on the more interesting stuff too. Like embedding Haskell values in hyperscript, checking the hyperscript syntax at compile time, and even typechecking hyperscript (to an extent). This will require an implementation of the hyperscript parser in Haskell. |
@tonyalaribe Okay so turns out this issue is deeper than I thought and may be unavoidable...Basically the cause of the issue is the function Edit: By disallowing certain characters in the HTML attributes it prevents cross-site scripting attacks? That seems to be the motivation for the escaping. |
And thanks a lot for looking into this |
@tonyalaribe Okay, so I fixed the |
Anyways, I'll push the latest version so that at least |
Thanks @rashadg1030, it works great on my end. |
The _hs quasiquoter escapes quotes which in hyperscript are valid characters to signify ownership
The text was updated successfully, but these errors were encountered: