 
     (save-excursion
       (end-of-line)
-      (setq isQuotation (looking-back "${ *")))
+      (setq isQuotation (looking-back "${[^}]*")))
 
     (unless (eobp)
       (save-excursion

    ;; place cursor correctly on newline-and-indent
    (when (equal (current-column) 0)
      (back-to-indentation))
;;     (when (equal (+ 2 (point)) (save-excursion (end-of-line) (point)))
;;       (forward-char 2))
    ))

(defun zomp-indent-current ()


    (when (and (not isStar)
               (not isComment)
               (not isQuotation)
               ;; (member wordAtLineBeginning zomp-indent-keywords)
               startOfIndentBlock
               (not (and endAtNextLine (>= nextLineIndentDiff 0)))
