mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-19 06:20:38 -07:00
fix: break/continue stops whole template, #783
This commit is contained in:
@@ -74,6 +74,7 @@ export default class extends Tag {
|
||||
if (ctx.breakCalled) break
|
||||
scope.forloop.next()
|
||||
}
|
||||
ctx.continueCalled = ctx.breakCalled = false
|
||||
ctx.pop()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user