Skip to content

Commit 8888243

Browse files
authored
Fixes microsoft/vscode#117154 - VScode Emmet missing HTML "hgroup" tag (#55)
1 parent 21f247a commit 8888243

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/data.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ export const htmlData = {
77
"body", "head", "html",
88
"address", "blockquote", "dd", "div", "section", "article", "aside", "header", "footer", "nav", "menu", "dl", "dt", "fieldset", "form", "frame", "frameset", "h1", "h2", "h3", "h4", "h5", "h6", "iframe", "noframes", "object", "ol", "p", "ul", "applet", "center", "dir", "hr", "pre",
99
"a", "abbr", "acronym", "area", "b", "base", "basefont", "bdo", "big", "br", "button", "caption", "cite", "code", "col", "colgroup", "del", "dfn", "em", "font", "i", "img", "input", "ins", "isindex", "kbd", "label", "legend", "li", "link", "map", "meta", "noscript", "optgroup", "option", "param", "q", "s", "samp", "script", "select", "small", "span", "strike", "strong", "style", "sub", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "title", "tr", "tt", "u", "var",
10-
"canvas", "main", "figure", "plaintext", "figcaption"
10+
"canvas", "main", "figure", "plaintext", "figcaption", "hgroup"
1111
]
1212
}

src/test/expand.test.ts

+3
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,9 @@ describe('Expand Abbreviations', () => {
143143
// `output.reverseAttributes` emmet option
144144
testExpand('html', 'a.dropdown-item[href=#]{foo}', '<a href="#" class="dropdown-item">foo</a>', { "output.reverseAttributes": false });
145145
testExpand('html', 'a.dropdown-item[href=#]{foo}', '<a class="dropdown-item" href="#">foo</a>', { "output.reverseAttributes": true });
146+
147+
// https://github.com/microsoft/vscode/issues/117154
148+
testExpandWithCompletion('html', 'hgroup', '<hgroup>${0}</hgroup>');
146149
});
147150

148151
describe('Wrap Abbreviations (basic)', () => {

0 commit comments

Comments
 (0)