Skip to content

Add support for boolean HTML attributes #26

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

Closed
jugglinmike opened this issue Jun 4, 2012 · 4 comments
Closed

Add support for boolean HTML attributes #26

jugglinmike opened this issue Jun 4, 2012 · 4 comments

Comments

@jugglinmike
Copy link

Currently, the following markup confuses CodeRay:

<textarea disabled>
  This text area has been disabled.
</textarea>

The file test1.xml hosted here has a good list of attributes that do not require a value, although there are new boolean attributes in the HTML5 spec:

  • <iframe>: seamless and sandbox (source)
  • <style>: scoped (source)
@korny
Copy link
Member

korny commented Jun 19, 2012

Wow, that's awful - thank you for reporting! I'll fix it in the next release.

@korny
Copy link
Member

korny commented Jun 19, 2012

v1.0.7.rc2 should have fixed this; can you test?

@korny
Copy link
Member

korny commented Jun 25, 2012

I released this in 1.0.7. Hope it's fixed.

@korny korny closed this as completed Jun 25, 2012
@jugglinmike
Copy link
Author

8 months later, I'd like to confirm that this is, in fact, working on my end. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants