freemarker.template特殊字符处理(ftl)

${r"XXXXXX"}

xxxxx代表你想直接输出的特殊字符

特此记录一下 ;网上答案很多  ,可能我太菜  试了半天   我勒个擦

     #${r"{"}${column.name}${r"}"},

 遍历、、、是否还有下一个元素 、、、例如加逗号

                        <#list table.columns as column>
                             #${r"{"}${column.name}${r"}"}<#if column_has_next>,</#if>
                            </#list>
原文地址:https://www.cnblogs.com/qq376324789/p/13691689.html