[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/web-mode d46ab9fd17: add tmpl_var to void elements
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/web-mode d46ab9fd17: add tmpl_var to void elements |
Date: |
Sat, 26 Feb 2022 07:58:44 -0500 (EST) |
branch: elpa/web-mode
commit d46ab9fd17775580901e02bbb90b745087986e5a
Author: fxbois <fxbois@gmail.com>
Commit: fxbois <fxbois@gmail.com>
add tmpl_var to void elements
#1221
---
issues/1221.html | 4 ++++
web-mode.el | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/issues/1221.html b/issues/1221.html
new file mode 100644
index 0000000000..bdac278988
--- /dev/null
+++ b/issues/1221.html
@@ -0,0 +1,4 @@
+<div>
+ <TMPL_VAR NAME="what">
+ <p>nooo I don't want to indent this</p>
+</div>
diff --git a/web-mode.el b/web-mode.el
index 4fed158430..f4df1fcdbb 100644
--- a/web-mode.el
+++ b/web-mode.el
@@ -833,7 +833,7 @@ Must be used in conjunction with
web-mode-enable-block-face."
(defvar web-mode-void-elements
'("area" "base" "br" "col" "command" "embed" "hr" "img" "input" "keygen"
- "link" "meta" "param" "source" "track" "wbr"))
+ "link" "meta" "param" "source" "track" "wbr" "tmpl_var"))
(defvar web-mode-part-content-types
'("css" "javascript" "json" "jsx" "markdown" "pug" "ruby"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/web-mode d46ab9fd17: add tmpl_var to void elements,
ELPA Syncer <=