通过以下方法,单篇文章已经可以调出来了 {xiao:list id=2 table=content_news} {xiao:$xiao['content']} {/xiao:list} 但是里面好多编辑器带过来的乱七八糟html代码该怎么过滤掉啊 |
|
1楼2015-10-13 18:20:25
回复 |
使用htmlspecialchars_decode函数就好了。。。。 {xiao:list id=2 table=content_news} {xiao:function.htmlspecialchars_decode($xiao['content'])} {/xiao:list} 另外XIAOCMS仿站建站交流群欢迎加入,群号:379229069 |
|
2楼2016-01-02 20:14:08
回复 |
路过,做个记号!以后备用! |
|
3楼2016-12-22 14:01:59
回复 |