Hallo,
versuchs mal so, müste eigentlich funktionieren, habe leider gerade keinen Parser zur Hand.
<?php
function cut_long_word($text,$stelle) {
$mod=get_html_translation_table (HTML_SPECIALCHARS);
$mod = array_flip($mod);
$text=strtr($text,$mod);
$text=chunk_split($text,$stelle);
$mod = array_flip($mod);
$text=strtr($text,$mod);
$text=nl2br($text);
return $text;
}
?>