From 2b3674032533a22ef535614839adc8429d28d1a2 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 15 Nov 2019 02:14:06 -0500 Subject: [PATCH] lang/web: fix duplicate closing delimiters --- modules/lang/web/+html.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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