compress
语法
<#compress> ... </#compress>
用来压缩空白空间和空白的行
用例
<#assign x = " moo ">
(
<#compress>
1 2 3 4 5
${moo}
test only
I said,
test only
</#compress>
)
输出
(
1 2 3 4 5
moo
test only
I said,
test only
)
compress
语法
<#compress> ... </#compress>
用来压缩空白空间和空白的行
用例
<#assign x = " moo ">
(
<#compress>
1 2 3 4 5
${moo}
test only
I said,
test only
</#compress>
)
输出
(
1 2 3 4 5
moo
test only
I said,
test only
)