autoclosing also in pure xml
authorEugene Kudelevsky <Eugene.Kudelevsky@jetbrains.com>
Thu, 8 Apr 2010 14:16:26 +0000 (18:16 +0400)
committerEugene Kudelevsky <Eugene.Kudelevsky@jetbrains.com>
Thu, 8 Apr 2010 14:16:26 +0000 (18:16 +0400)
xml/impl/src/com/intellij/codeInsight/template/zencoding/XmlZenCodingTemplate.java

index 8a80412f47ad1054f464426e36cffc06e7873575..e00ae99dc61623c25f27ddede46f68ad446488dd 100644 (file)
@@ -178,7 +178,7 @@ public class XmlZenCodingTemplate implements CustomLiveTemplate {
 
   public static boolean isTrueXml(CustomTemplateCallback callback) {
     FileType type = callback.getFileType();
-    return type == StdFileTypes.XHTML || type == StdFileTypes.JSPX;
+    return type == StdFileTypes.XHTML || type == StdFileTypes.JSPX || type == StdFileTypes.XML;
   }
 
   @Nullable