Skip to content

Commit

Permalink
Merge pull request #279 from MaxMorais/patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
surajshetty3416 authored Jan 14, 2025
2 parents 74ccb14 + 9bd558d commit 58c3913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/builder/doctype/builder_page/builder_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ def get_tag(block, soup, data_key=None):
if data_key:
_key = f"{data_key}.{_key}"

item_key = f"key_{block.get('blockId')}"
item_key = f"key_{_key.replace('.', '__')}"
tag.append(f"{{% for {item_key} in {_key} %}}")
tag.append(get_tag(block.get("children")[0], soup, item_key))
tag.append("{% endfor %}")
Expand Down

0 comments on commit 58c3913

Please sign in to comment.