mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Fix Autolink Syntax Highlighting in Markdown (#18201)
Fixes #18197 **Bug** Autolinks that start a line in markdown are currently parsed as as html content **Fix** Restrict the html element parser a little more so that we don't match tags html tags that look like `<scheme:...>`
This commit is contained in:
parent
140f1ec0a3
commit
83db3cad0c
|
@ -355,7 +355,7 @@
|
|||
</dict>
|
||||
<dict>
|
||||
<key>begin</key>
|
||||
<string>(^|\G)\s*(?=(<[a-zA-Z0-9\-].*>|</[a-zA-Z0-9\-]>)\s*$)</string>
|
||||
<string>(^|\G)\s*(?=(<[a-zA-Z0-9\-](/?>|\s.*?>)|</[a-zA-Z0-9\-]>)\s*$)</string>
|
||||
<key>patterns</key>
|
||||
<array>
|
||||
<dict>
|
||||
|
|
Loading…
Reference in a new issue