mirror of
https://github.com/github/codeql.git
synced 2025-12-21 11:16:30 +01:00
JS: Ignore empty char sequences
This commit is contained in:
@@ -404,6 +404,7 @@ public class HTMLExtractor implements IExtractor {
|
||||
int start,
|
||||
int end,
|
||||
Supplier<Label> parentLabel) {
|
||||
if (start >= end) return;
|
||||
if (isEmbedded) return; // Do not extract template tags for HTML snippets embedded in a JS file
|
||||
|
||||
LocationManager locationManager = textualExtractor.getLocationManager();
|
||||
|
||||
Reference in New Issue
Block a user