From 99073d1e0272dd5eb5878d98fe56cbbebbee55df Mon Sep 17 00:00:00 2001 From: Glavin Wiechert Date: Mon, 21 Mar 2016 10:39:48 -0300 Subject: [PATCH] Fixes #758. Add XTemplate support to Pretty Diff beautifier --- src/beautifiers/prettydiff.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/beautifiers/prettydiff.coffee b/src/beautifiers/prettydiff.coffee index 81236fd..9971412 100644 --- a/src/beautifiers/prettydiff.coffee +++ b/src/beautifiers/prettydiff.coffee @@ -55,6 +55,7 @@ module.exports = class PrettyDiff extends Beautifier Swig: true Visualforce: true "Riot.js": true + XTemplate: true } beautify: (text, language, options) -> @@ -74,7 +75,7 @@ module.exports = class PrettyDiff extends Beautifier lang = "ejs" when "ERB" lang = "html_ruby" - when "Handlebars", "Mustache", "Spacebars", "Swig", "Riot.js" + when "Handlebars", "Mustache", "Spacebars", "Swig", "Riot.js", "XTemplate" lang = "handlebars" when "SGML" lang = "markup"