   (save-excursion
     (while (and (zerop (forward-line -1))
                 (or (looking-at "[ \t]*$")
-                    (closure-any-com))))
+                    (closure-any-com)
+                    (not (looking-at ".*[{}<>]")))))
     (back-to-indentation)
     (list (cond
+           ((closure-composite-line) 'composite)
            ((closure-tag-closed) 'closed)
            ((closure-tag-opened) 'opened)
            (t nil))

               (save-excursion (indent-line-to indent-col))
             (indent-line-to indent-col))))))))


(defun indent-closure-open ()
  (let ((ind (closure-previous-indent)))
    (case (car ind)
      (opened (indent-line-to (+ (second ind)
                                 sgml-basic-offset)))
      (closed (indent-line-to (second ind)))
      ((nil) (indent-sgml-in-closure)))))


                          *closure-template-literal-keywords*
                          *closure-template-let-keywords*))
              (some (lambda (obj)
                      (if (car (second obj))
                          (string-match (car (second obj))
                                        str)))
                    (list *closure-template-template-keywords*
                          *closure-template-foreach-keywords*
                          *closure-template-if-switch-keywords*
