[json] hover in JSON documents hides '*', fixes #8068

This commit is contained in:
Martin Aeschlimann
2016-07-20 16:29:23 +02:00
parent 9b3d529474
commit 349c4ddf60
4 changed files with 25 additions and 27 deletions

View File

@@ -170,7 +170,7 @@ export class BowerJSONContribution implements IJSONContribution {
htmlContent.push(localize('json.bower.package.hover', '{0}', pack));
return this.getInfo(pack).then(documentation => {
if (documentation) {
htmlContent.push(documentation);
htmlContent.push({ language: 'string', value: documentation});
}
return htmlContent;
});