vendor/assets/javascripts/ace/mode-logiql.js in ace-rails-ap-4.0.0 vs vendor/assets/javascripts/ace/mode-logiql.js in ace-rails-ap-4.0.1

- old
+ new

@@ -397,11 +397,11 @@ var token = session.getTokenAt(cursor.row, cursor.column); var rightToken = session.getTokenAt(cursor.row, cursor.column + 1); if (leftChar == "\\" && token && /escape/.test(token.type)) return null; - var stringBefore = token && /string/.test(token.type); - var stringAfter = !rightToken || /string/.test(rightToken.type); + var stringBefore = token && /string|escape/.test(token.type); + var stringAfter = !rightToken || /string|escape/.test(rightToken.type); var pair; if (rightChar == quote) { pair = stringBefore !== stringAfter; } else {