Skip to content

Commit

Permalink
Polish for #4013
Browse files Browse the repository at this point in the history
  • Loading branch information
aeschli committed Mar 13, 2016
1 parent ff22654 commit 2fbdbe8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/vs/languages/html/common/html.contribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ configurationRegistry.registerConfiguration({
'html.format.maxPreserveNewLines': {
'type': ['number', 'null'],
'default': null,
'description': nls.localize('format.maxPreserveNewLines', "Maximum number of line breaks to be preserved in one chunk. Use 'null' for unlimeted."),
'description': nls.localize('format.maxPreserveNewLines', "Maximum number of line breaks to be preserved in one chunk. Use 'null' for unlimited."),
},
'html.format.indentHandlebars': {
'type': 'boolean',
Expand All @@ -64,7 +64,7 @@ configurationRegistry.registerConfiguration({
'html.format.extraLiners': {
'type': ['string', 'null'],
'default': null,
'description': nls.localize('format.extraLiners', "List of tags, comma separated, that should have an extra newline before them. 'null' defaults to [head,body,/html]."),
'description': nls.localize('format.extraLiners', "List of tags, comma separated, that should have an extra newline before them. 'null' defaults to \"head, body, /html\"."),
},
}
});
2 changes: 1 addition & 1 deletion src/vs/languages/html/common/htmlWorker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export class HTMLWorker {
private getFormatListOption(key: string, dflt: string[]): string[] {
let list = this.getFormatOption(key, null);
if (list) {
return list.split(',');
return list.split(',').map(t => t.trim());
}
return dflt;
}
Expand Down

0 comments on commit 2fbdbe8

Please sign in to comment.