Browse Source

fix: do not evaluate content in [for] statement if the function was not found

master
Tomasz Sowa 7 days ago
parent
commit
369cefacdf
  1. 3
      src/generator.h

3
src/generator.h

@ -2485,7 +2485,8 @@ void Generator<StreamType, is_pikotools_stream, is_autoescape_stream>::MakeTextF
}
else
{
Call(item.function, nullptr, stream_temp1, true, empty_stream);
if( !Call(item.function, nullptr, stream_temp1, true, empty_stream) )
return;
}
if( !last_res )

Loading…
Cancel
Save