diff --git a/examples/nested-jsbeautifyrc/riotjs/expected/test.tag b/examples/nested-jsbeautifyrc/riotjs/expected/test.tag index 4baf564..3f135b0 100644 --- a/examples/nested-jsbeautifyrc/riotjs/expected/test.tag +++ b/examples/nested-jsbeautifyrc/riotjs/expected/test.tag @@ -7,15 +7,25 @@ - + \ No newline at end of file diff --git a/src/beautifiers/prettydiff.coffee b/src/beautifiers/prettydiff.coffee index 67f4053..81236fd 100644 --- a/src/beautifiers/prettydiff.coffee +++ b/src/beautifiers/prettydiff.coffee @@ -54,6 +54,7 @@ module.exports = class PrettyDiff extends Beautifier LESS: true Swig: true Visualforce: true + "Riot.js": true } beautify: (text, language, options) -> @@ -73,7 +74,7 @@ module.exports = class PrettyDiff extends Beautifier lang = "ejs" when "ERB" lang = "html_ruby" - when "Handlebars", "Mustache", "Spacebars", "Swig" + when "Handlebars", "Mustache", "Spacebars", "Swig", "Riot.js" lang = "handlebars" when "SGML" lang = "markup"