jquery.tocify.js icon indicating copy to clipboard operation
jquery.tocify.js copied to clipboard

Tocify generates invalid HTML

Open avandecreme opened this issue 10 years ago • 2 comments

The HTML generated by this plugin is not W3C compliant.

There are 2 issues:

  • Nested 'ul' tags when there are sub-menus. They could be replaced by 'div' or the sub-menu 'ul' be included in the parent 'li'
  • 'div' elements are added with a 'name' attribute inside the page

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

avandecreme avatar Apr 15 '14 17:04 avandecreme

PR's are always welcome =)

gfranko avatar May 08 '14 00:05 gfranko

Alright, I will try to look into it when I get the chance.

avandecreme avatar May 08 '14 13:05 avandecreme