🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
去除(多余空格) 用一个空格或一个给定字符替换所有重复空格,换行和制表符. 例子: articleTitle:`Grandmother of\neight makes\t hole in one.` 模板: ``` _{$articleTitle}_ _{$articleTitle|strip}_ _{$articleTitle|strip:" "}_ ``` 输出: ``` Grandmother of eight makes hole in one. Grandmother of eight makes hole in one. Grandmother of eight makes hole in one. ```