Skip to content

Commit fcec019

Browse files
committed
fix templates function
1 parent 5025e36 commit fcec019

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/emberjs/gts/GtsSupport.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ class GtsElementTypes {
195195

196196

197197
override fun appendCurrentTemplateToken(tokenEndOffset: Int, tokenText: CharSequence): TemplateDataModifications {
198-
val r = Regex("(=|:)\\s*$")
198+
val r = Regex("([=:,(])\\s*$")
199199
return if (r.containsMatchIn(tokenText)) {
200200
TemplateDataModifications.fromRangeToRemove(tokenEndOffset, "''")
201201
} else {

0 commit comments

Comments
 (0)