pugjs/pug

menuitem is NOT self-closing

quangdaon opened this issue · 1 comments

The menuitem tag (in reference to HTML5 context menus, in case this is used elsewhere), is not self-closing. Despite the inline content having no effect, <menuitem> needs a closing tag, and not having one messes up the HTML, causing menuitems, and possible other elements, to appear incorrectly.

Looks like Pug uses the void-elements module and it is listed as being a void element. I would open an issue with them.