我使用 PHP 将 XML 转换为 XML。
虽然转换运行良好,但我有 LF 出现在 HTML 标记之后。IE:
The weather was <i>nice</i> and Eve was feeling lucky.
变成
The weather was <i>nice</i>**LF**
and Eve was feeling lucky.
有谁知道它可能来自哪里?
编码 :
case 'Texte':
$this->setData('body', $domElement);