首页 Liquid 语法 函数(Filters) strip_newlines strip_newlines Baklib 发布于:2025-01-02 从字符串中删除所有换行字符(newline character)。输入 {% capture string_with_newlines %} Hello there {% endcapture %} {{ string_with_newlines | strip_newlines }} 输出 Hellothere 提交反馈 您觉得这篇文章是否有帮助? 😊 有用 😞 无用 Close abs times