ijcd · GitHub

I'm using some html generation libraries that generate boolean attributes using the k=k format. According to this, it seems that boolean attributes should be parseable in a few ways that are considered equivalent:

http://w3c.github.io/html/infrastructure.html#sec-boolean-attributes

I have a library that is producing this format:

<div up-keep="up-keep">

This should be recognized as boolean inclusion of up-keep but it seems that unpoly fails to pick it up.

I understand the brevity argument from #11 but this is generated markup, so brevity isn't important and the output format isn't configurable, unfortunately.

Read the original on github.com ↗