How safe is to allow customer edit Handlebar.js template
问题 The Rails application that I am building need to allow the users to edit the page template. The main concern is about how safe it is to allow the customers edit the templates. So that puts the erb templates out of the equation. I had looked at liquid markup and Handlebars.js. There is a nice Rails integration for handlebars here https://github.com/jamesarosen/handlebars-rails . I would prefer to use handlebars. Can somebody confirm if it is safe to let customers edit handlebar templates? 回答1: