默认状态下,discuz是不能使用html代码的。对于抓取内容里的换行符,请用ascii码自行过滤替换,本人用的php,代码以下:php
$content = preg_replace("/<br[\s\S]*?>/i", chr(13), $content);
问题解决。html