mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 12:45:39 +01:00
fixed Color highlight in xml closing tag
This commit is contained in:
parent
9242cdfd03
commit
f0f14feb37
2 changed files with 21 additions and 6 deletions
|
|
@ -301,6 +301,21 @@ testTokenization('xml', [
|
|||
}
|
||||
],
|
||||
|
||||
// End Tag with Newline Before Closing Bracket
|
||||
[
|
||||
{
|
||||
line: '</test',
|
||||
tokens: [
|
||||
{ startIndex: 0, type: 'delimiter.xml' },
|
||||
{ startIndex: 2, type: 'tag.xml' }
|
||||
]
|
||||
},
|
||||
{
|
||||
line: '>',
|
||||
tokens: [{ startIndex: 0, type: 'delimiter.xml' }]
|
||||
}
|
||||
],
|
||||
|
||||
// Comments
|
||||
[
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue