Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add TODO list support for Blackfriday #2296
changed the title from
WIP: Add TODO list support for Blackfriday
Add TODO list support for Blackfriday
Jul 22, 2016
If you followed the looooong discussion in the related issue you will see that the core part of the implementation is borrowed from @shurcooL ... Knowing that he writes compilers for fun (gopherjs), I'm pretty sure he is correct. And reading the spec (https://www.w3.org/TR/html-markup/syntax.html#syntax-attributes), I don't see any "attribute without value" option. It probably works in most (all?) browsers, but isn't entirely correct.
Have another look: https://www.w3.org/TR/html-markup/syntax.html#syntax-attr-empty
Thanks, but I would recommend reviewing that code from scratch. I wrote it a while ago and decisions/research done back then may not apply or still be valid today. It also highly depends on the context where it's used (version of HTML, etc.).
There was no good reason, it was just one of many ways of doing it. I think your suggestion is valid and makes sense. But I haven't looked at the specifics of HTML/XHTML versions hugo uses, its browser support, etc.
Sep 9, 2016
The goal of the