Skip to content

Commit 7cb0f15

Browse files
ecojanamuraru
authored andcommitted
Support exclude key on interpolation for himl
1 parent b16d053 commit 7cb0f15

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

himl/interpolation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515

1616

1717
def is_interpolation(value):
18-
return isinstance(value, string_types) and '{{' in value and '}}' in value
18+
return isinstance(value, string_types) and '{{' in value and '}}' in value \
19+
and '{{`' not in value and '`}}' not in value
1920

2021

2122
def is_full_interpolation(value):

0 commit comments

Comments
 (0)