JS: Fix offset of *ngFor snippet

This commit is contained in:
Asger Feldthaus
2020-12-11 21:44:28 +00:00
parent 0da207a5f9
commit 29dd8470d5

View File

@@ -113,7 +113,7 @@ public class HTMLExtractor implements IExtractor {
config.withSourceType(SourceType.ANGULAR_TEMPLATE),
scopeManager,
textualExtractor,
source,
source.substring(offset),
valueStart.getRow(),
valueStart.getColumn() + offset,
false /* isTypeScript */);