Skip to content

Commit

Permalink
rm space before,after placeholer
Browse files Browse the repository at this point in the history
fixes #12
  • Loading branch information
aca committed Oct 15, 2021
1 parent cc6f73d commit 22195ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ connection.onCompletion(
const htmlconfig = resolveConfig({
options: {
'output.field': (index, placeholder) =>
` \$\{${index}${placeholder ? ':' + placeholder : ''}\} `,
`\$\{${index}${placeholder ? ':' + placeholder : ''}\}`,
},
});
const markup = parseMarkup(abbreviation, htmlconfig);
Expand All @@ -153,7 +153,7 @@ connection.onCompletion(
type: 'stylesheet',
options: {
'output.field': (index, placeholder) =>
` \$\{${index}${placeholder ? ':' + placeholder : ''}\} `,
`\$\{${index}${placeholder ? ':' + placeholder : ''}\}`,
},
});
const markup = parseStylesheet(abbreviation, cssConfig);
Expand Down

0 comments on commit 22195ef

Please sign in to comment.