branch: elpa/web-mode
commit 1662f1f762e59d197ef61604cd1ad71fe053e517
Author: fxbois <fxb...@gmail.com>
Commit: fxbois <fxb...@gmail.com>

    erb block delimiter
    
    #1198
---
 issues/1198.erb | 3 +++
 web-mode.el     | 6 +++---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/issues/1198.erb b/issues/1198.erb
new file mode 100644
index 0000000000..c15630d31c
--- /dev/null
+++ b/issues/1198.erb
@@ -0,0 +1,3 @@
+<div>
+  <%== javascript_tag 'app' %>
+</div>
diff --git a/web-mode.el b/web-mode.el
index d9f24b1d5d..dc2d60fedb 100644
--- a/web-mode.el
+++ b/web-mode.el
@@ -3,7 +3,7 @@
 
 ;; Copyright 2011-2022 François-Xavier Bois
 
-;; Version: 17.1.3
+;; Version: 17.1.4
 ;; Author: François-Xavier Bois <fxbois AT Google Mail Service>
 ;; Maintainer: François-Xavier Bois
 ;; Package-Requires: ((emacs "23.1"))
@@ -24,7 +24,7 @@
 
 ;;---- CONSTS 
------------------------------------------------------------------
 
-(defconst web-mode-version "17.1.3"
+(defconst web-mode-version "17.1.4"
   "Web Mode version.")
 
 ;;---- GROUPS 
------------------------------------------------------------------
@@ -3304,7 +3304,7 @@ Also return non-nil if it is the command 
`self-insert-command' is remapped to."
           (cond
            ((string= sub2 "<%")
             (setq closing-string '("<%". "%>")
-                  delim-open "<%[=-]?"
+                  delim-open "<%\\(==\\|[=-]\\)?"
                   delim-close "[-]?%>"))
            (t
             (setq closing-string "EOL"

Reply via email to