diff --git a/web-mode.el b/web-mode.el index d60f3d51..3b5cc097 100644 --- a/web-mode.el +++ b/web-mode.el @@ -4255,7 +4255,7 @@ another auto-completion with different ac-sources (e.g. ac-php)") (setq element-content-type "jsx")) ((string-match-p " type[ ]*=[ ]*[\"']text/\\(markdown\\|template\\)" script) (setq element-content-type "markdown")) - ((string-match-p " type[ ]*=[ ]*[\"']text/\\(x-handlebars\\|x-jquery-tmpl\\|x-jsrender\\|html\\|ng-template\\|template\\|mustache\\|x-dust-template\\)" script) + ((string-match-p " type[ ]*=[ ]*[\"']text/\\(x-handlebars\\|x-jquery-tmpl\\|x-jsrender\\|html\\|ng-template\\|template\\|mustache\\|x-dust-template\\|x-template\\)" script) (setq element-content-type "html" part-close-tag nil)) ((string-match-p " type[ ]*=[ ]*[\"']application/\\(ld\\+json\\|json\\)" script)