Fix a source location error in CspNonceInjection.
@@ -112,7 +112,7 @@ public final class ContentSecurityPolicyNonceInjectionPass extends CompilerFileP
openTag
.getSourceLocation()
.getEndPoint()
- .offset(0, openTag.isSelfClosing() ? 2 : -1)
+ .offset(0, openTag.isSelfClosing() ? -2 : -1)
.asLocation(openTag.getSourceLocation().getFilePath());
openTag.addChild(createCspInjection(insertionLocation, nodeIdGen));
}
