fix comment

This commit is contained in:
Lendemor 2025-02-06 23:39:19 +01:00
parent a35c1b71a4
commit e647f5ff20

View File

@ -130,7 +130,7 @@ class IterTag(Tag):
raise ValueError("The render function must take 2 arguments.")
component = self.render_fn(arg, index)
# Nested foreach components, cond must be wrapped in fragments.
# Nested foreach components or cond must be wrapped in fragments.
if isinstance(component, (Foreach, Cond)):
component = Fragment.create(component)