rstrip

rstrip从字符串的右侧删除所有空格(制表符,空格和换行符)。

输入

{{ "          So much room for activities!          " | rstrip }}

输出

          So much room for activities!