-
Notifications
You must be signed in to change notification settings - Fork 474
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
Any plans for boolean attribute support? #195
Comments
I've looked into this a bit more and the specific issue I'm running into is being able to produce attributes that are only the attribute name such as:
I believe that this library is compliant by the spec, from what I can tell, but people may be expecting / desiring the above for boolean attributes at times. |
The only maintenance I’ve done to this library over the past few years is fixing the occasional bug. I’d be happy to review a PR for this feature though. |
Thanks for the reply. I'll look into it, but I'm still getting up to speed on Erlang, currently using this via Elixir (Floki). |
Hi! Great library, enjoying it greatly!
I was wondering if there are any plans to support boolean attributes, as specified here: https://html.spec.whatwg.org/#boolean-attributes
I have a use case for it on a project and would definitely like to continue using mochiweb for html parsing in that project.
Thanks!
The text was updated successfully, but these errors were encountered: