From 5e2d92d26919bfa8bcb70a641dc3f34433829e30 Mon Sep 17 00:00:00 2001 From: Ramya Achutha Rao Date: Tue, 20 Jun 2017 11:43:28 -0700 Subject: [PATCH] Support xhtml as output profile --- extensions/emmet/src/util.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/extensions/emmet/src/util.ts b/extensions/emmet/src/util.ts index 69ad19071c6..a99e71e49f5 100644 --- a/extensions/emmet/src/util.ts +++ b/extensions/emmet/src/util.ts @@ -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 = {};