Skip to content

Commit

Permalink
Fix for 114923 - HTML figcaption tag should be suggested when using t…
Browse files Browse the repository at this point in the history
…he full word (#44)
  • Loading branch information
AnuBhar authored Feb 12, 2021
1 parent 73a2350 commit a65ff8f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ export const htmlData = {
"body", "head", "html",
"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",
"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",
"canvas", "main", "figure", "plaintext"
"canvas", "main", "figure", "plaintext", "figcaption"
]
}
3 changes: 3 additions & 0 deletions src/test/expand.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ describe('Expand Abbreviations', () => {
// `output.reverseAttributes` emmet option
testExpand('html', 'a.dropdown-item[href=#]{foo}', '<a href="#" class="dropdown-item">foo</a>', { "output.reverseAttributes": false });
testExpand('html', 'a.dropdown-item[href=#]{foo}', '<a class="dropdown-item" href="#">foo</a>', { "output.reverseAttributes": true });

// https://github.com/microsoft/vscode/issues/114923
testExpandWithCompletion('html', 'figcaption', '<figcaption>${0}</figcaption>');
});

describe('Wrap Abbreviations (basic)', () => {
Expand Down

0 comments on commit a65ff8f

Please # to comment.