mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
Fix Markdown TOC Provider for Invalid References (#22553)
Fixes #22494 **Bug** References without a definition can cause the markdown table of contents provider to break **Fix** Pass in an empty environment to markdown-it `parse` to prevent the null dereference on invalid links.
This commit is contained in:
@@ -191,7 +191,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"highlight.js": "^9.3.0",
|
||||
"markdown-it": "^8.2.2",
|
||||
"markdown-it": "^8.3.1",
|
||||
"markdown-it-named-headers": "0.0.4",
|
||||
"vscode-extension-telemetry": "^0.0.6",
|
||||
"vscode-nls": "^2.0.2"
|
||||
|
||||
Reference in New Issue
Block a user