После добавления
$text = preg_replace("!
!si", "", $object->teaser); $text = str_replace("\r", "", $text); <-- этой строки $text = str_replace("\n", "", $text); $text = str_replace('"', '\"', $text); все стало нормально :) Патчи писать не умею, извините :)
Comments
Comment #1
Romka commentedPatch was applied.