Dede5.7织梦"function=’Html2Text(@me)"使用方法教程(详解)



function=’Html2Text(@me)是用来屏蔽过滤html代码的。


使用方法,比如对title、descrption字段:


[field:title function=’Html2Text(@me)’/]  (首页、列表等非文档内页内容区域)


{dede:field name=’description’ function=’html2text(@me)’/}(文档内容页)