We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 745f9b3 commit d6dbabfCopy full SHA for d6dbabf
1 file changed
javascript/extractor/src/com/semmle/js/extractor/HTMLExtractor.java
@@ -404,6 +404,7 @@ private void extractTemplateTags(
404
int start,
405
int end,
406
Supplier<Label> parentLabel) {
407
+ if (start >= end) return;
408
if (isEmbedded) return; // Do not extract template tags for HTML snippets embedded in a JS file
409
410
LocationManager locationManager = textualExtractor.getLocationManager();
0 commit comments