Skip to content

Commit b4f5a95

Browse files
committed
correct tuple order
1 parent 9428018 commit b4f5a95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

djangocms_frontend/templatetags/cms_component.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def _to_tuple_if_needed(value: str) -> str | tuple[str, str]:
6464
"""
6565
match = re.match(r"^(.*?)\s*<([^>]+)>\s?$", value)
6666
if match:
67-
return [match.group(1).strip(), match.group(2).strip()]
67+
return [match.group(2).strip(), match.group(1).strip()]
6868
return value
6969

7070

0 commit comments

Comments
 (0)