mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Fix hover tooltips (#14561)
This commit is contained in:
@@ -642,4 +642,10 @@ suite('ExtHostTypes', function () {
|
||||
1, 0, 3, 3, (1 << 2) | (1 << 4)
|
||||
]);
|
||||
});
|
||||
|
||||
test('Markdown codeblock rendering is swapped #111604', function () {
|
||||
const md = new types.MarkdownString().appendCodeblock('<img src=0 onerror="alert(1)">', 'html');
|
||||
assert.deepEqual(md.value, '\n```html\n<img src=0 onerror="alert(1)">\n```\n');
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user