Support xhtml as output profile

This commit is contained in:
Ramya Achutha Rao 2017-06-20 11:43:28 -07:00
parent aaa3049e3c
commit 5e2d92d269

View file

@ -39,6 +39,11 @@ export function getProfile(syntax: string): any {
let config = vscode.workspace.getConfiguration('emmet')['syntaxProfiles'] || {};
let options = config[syntax];
if (!options || typeof options === 'string') {
if (options === 'xhtml') {
return {
selfClosingStyle: 'xhtml'
};
}
return {};
}
let newOptions = {};