Já nejsem PHPista, ale mám
$komentar = Str_Replace("<","<",$komentar);
$komentar = Str_Replace(">",">",$komentar);
a to mi funguje dobře. Co u toho tvého dát to $body také nakonec a bez mezer?$body = str_replace ("<","<",$body);
$body = str_replace (">",">",$body);