parent
59ba6494b9
commit
b3c053d44b
1 changed files with 1 additions and 0 deletions
|
@ -83,6 +83,7 @@ export class HoverWidget extends Widget {
|
|||
const contentsElement = $('div.hover-contents');
|
||||
if (typeof options.text === 'string') {
|
||||
contentsElement.textContent = options.text;
|
||||
contentsElement.style.whiteSpace = 'pre-wrap';
|
||||
} else {
|
||||
const markdown = options.text;
|
||||
const mdRenderer = this._instantiationService.createInstance(
|
||||
|
|
Loading…
Reference in a new issue