fix: do not evaluate content in [for] statement if the function was not found
This commit is contained in:
parent
43fbf3b56c
commit
369cefacdf
|
@ -2485,7 +2485,8 @@ void Generator<StreamType, is_pikotools_stream, is_autoescape_stream>::MakeTextF
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Call(item.function, nullptr, stream_temp1, true, empty_stream);
|
if( !Call(item.function, nullptr, stream_temp1, true, empty_stream) )
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( !last_res )
|
if( !last_res )
|
||||||
|
|
Loading…
Reference in New Issue