diff --git a/lib/bemhtml/index.js b/lib/bemhtml/index.js index 73b0d1fd..811e2cde 100644 --- a/lib/bemhtml/index.js +++ b/lib/bemhtml/index.js @@ -117,8 +117,8 @@ BEMHTML.prototype.render = function(context, entity, tag, js, bem, cls, mix, }; var OPTIONAL_END_TAGS = { - // html4 https://html.spec.whatwg.org/multipage/syntax.html#optional-tags - html: 1, head: 1, body: 1, p: 1, ul: 1, ol: 1, li: 1, dt: 1, dd: 1, + // https://www.w3.org/TR/html4/index/elements.html + html: 1, head: 1, body: 1, p: 1, li: 1, dt: 1, dd: 1, colgroup: 1, thead: 1, tbody: 1, tfoot: 1, tr: 1, th: 1, td: 1, option: 1, // html5 https://www.w3.org/TR/html5/syntax.html#optional-tags