Skip to content

Commit

Permalink
fix exposures crashing with referencing questions with variables
Browse files Browse the repository at this point in the history
  • Loading branch information
kkuznets committed Feb 14, 2024
1 parent eab95fd commit e3d86e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbtmetabase/format.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,4 @@ def safe_description(text: Optional[str]) -> str:
Returns:
str: Sanitized string with escaped Jinja syntax.
"""
return re.sub(r"{{(.*)}}", r"(\1)", text or "")
return re.sub(r"{{(.*?)}}", r"(\1)", text or "")

0 comments on commit e3d86e8

Please sign in to comment.