Fixes #8679 - Do not treat '|' as a place holder in emmet snippts
This commit is contained in:
parent
8cb3dae0f4
commit
17c599e6de
1 changed files with 0 additions and 5 deletions
|
@ -260,11 +260,6 @@ export class CodeSnippet implements ICodeSnippet {
|
||||||
convertedSnippet += snippetType === ExternalSnippetType.EmmetSnippet ? '{{_}}' :'{{}}';
|
convertedSnippet += snippetType === ExternalSnippetType.EmmetSnippet ? '{{_}}' :'{{}}';
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (snippetType === ExternalSnippetType.EmmetSnippet && /^\|/.test(restOfLine)) {
|
|
||||||
++i;
|
|
||||||
convertedSnippet += '{{}}';
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Tab stops
|
// Tab stops
|
||||||
var matches = restOfLine.match(/^\$(\d+)/);
|
var matches = restOfLine.match(/^\$(\d+)/);
|
||||||
|
|
Loading…
Reference in a new issue