Fixes #8679 - Do not treat '|' as a place holder in emmet snippts

This commit is contained in:
Erich Gamma 2016-07-27 15:28:12 +02:00
parent 8cb3dae0f4
commit 17c599e6de

View file

@ -260,11 +260,6 @@ export class CodeSnippet implements ICodeSnippet {
convertedSnippet += snippetType === ExternalSnippetType.EmmetSnippet ? '{{_}}' :'{{}}';
continue;
}
if (snippetType === ExternalSnippetType.EmmetSnippet && /^\|/.test(restOfLine)) {
++i;
convertedSnippet += '{{}}';
continue;
}
// Tab stops
var matches = restOfLine.match(/^\$(\d+)/);