Using Express Handlebars and Angular JS

前端 未结 5 651
南笙
南笙 2020-11-30 21:01

Background

I am currently building a website that uses NodeJS for the server, Express Handlebars(Just Handlebars but server side) , and hopefully AngularJS for som

5条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-30 21:35

    There is a better way: \{{foo}}. Handlebars content may be escaped in one of two ways, inline escapes or raw block helpers. Inline escapes created by prefixing a mustache block with \ . Raw blocks are created using {{{{ mustache braces. You can see this http://handlebarsjs.com/expressions.html#helpers

提交回复
热议问题