Skip to content

Commit 7935167

Browse files
authored
fix invalid value
when assigning mustache to attributes
1 parent ed20960 commit 7935167

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/emberjs/EmberAttributeDescriptor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class EmberAttributeDescriptor(val context: XmlTag, value: String, isYield: Bool
105105
return null
106106
}
107107
if (this.values.isNotEmpty() && value != null) {
108-
if (value.startsWith("{{") || value.startsWith("\"{{")) {
108+
if (value == "" || value.startsWith("{{") || value.startsWith("\"{{")) {
109109
return null;
110110
}
111111
if (this.values.contains(value)) {

0 commit comments

Comments
 (0)