diff --git a/modules/lang/web/+html.el b/modules/lang/web/+html.el index 6869b89c0..424cad0c3 100644 --- a/modules/lang/web/+html.el +++ b/modules/lang/web/+html.el @@ -41,7 +41,9 @@ (setcdr alist (cl-loop for pair in (cdr alist) unless (string-match-p "^[a-z-]" (cdr pair)) - collect (cons (car pair) (string-trim-right (cdr pair)))))) + collect (cons (car pair) + (string-trim-right (cdr pair) + "\\(?:>\\|]\\|}\\)+\\'"))))) (delq! nil web-mode-engines-auto-pairs)) (map! :map web-mode-map