From 297dbe63db3f3ffcd3124347b37b858f405d58c4 Mon Sep 17 00:00:00 2001 From: DanyaPostfactum Date: Mon, 1 Jul 2013 04:04:46 +1000 Subject: [PATCH] Append empty value to inserted html attribute on completion --- lib/ace/mode/html.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ace/mode/html.js b/lib/ace/mode/html.js index 0eaf0c1c..d5a4ab64 100644 --- a/lib/ace/mode/html.js +++ b/lib/ace/mode/html.js @@ -326,7 +326,8 @@ function findTagName(iterator) { } return attributes.map(function(attribute){ return { - value: attribute, + caption: attribute, + snippet: attribute + '="$0"', meta: "attribute" }; });