车把相当于 Smarty 的 strip modifier
Handlebars equivalent of Smarty's strip modifier
Handlebars 模板系统中是否有内置 helper/utility 允许我从字符串中删除 newline/tab 等字符(相当于 Smarty's strip variable modifier)?还是我必须编写并注册我自己的助手?
Smarty 的 strip 没有严格的等效内置,但 Handlebars 有自己的whitespace control operator tilda ~
. Otherwise try to implement block helper。
Handlebars 模板系统中是否有内置 helper/utility 允许我从字符串中删除 newline/tab 等字符(相当于 Smarty's strip variable modifier)?还是我必须编写并注册我自己的助手?
Smarty 的 strip 没有严格的等效内置,但 Handlebars 有自己的whitespace control operator tilda ~
. Otherwise try to implement block helper。