mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 00:28:52 +01:00
This reverts commit 9f80085795.
This commit is contained in:
@@ -140,7 +140,7 @@ function getNextAttribute(document: vscode.TextDocument, selectionStart: number,
|
||||
}
|
||||
|
||||
// Fetch the next word in the attr value
|
||||
if (!attr.value.toString().includes(' ')) {
|
||||
if (attr.value.toString().indexOf(' ') === -1) {
|
||||
// attr value does not have space, so no next word to find
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user