mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
[json] update language service & server & MarkedString escaping fix. Fixes #11413
This commit is contained in:
@@ -219,10 +219,10 @@ export class ProjectJSONContribution implements JSONWorkerContribution {
|
||||
this.addCached(res.id, res.version, res.description);
|
||||
if (res.id === pack) {
|
||||
if (res.description) {
|
||||
htmlContent.push({ language: 'string', value: res.description });
|
||||
htmlContent.push(MarkedString.fromPlainText(res.description));
|
||||
}
|
||||
if (res.version) {
|
||||
htmlContent.push({ language: 'string', value: localize('json.nugget.version.hover', 'Latest version: {0}', res.version)});
|
||||
htmlContent.push(MarkedString.fromPlainText(localize('json.nugget.version.hover', 'Latest version: {0}', res.version)));
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user