ceasar - 2006-12-17 13:38:38
Hai,
Thanks for this great class.
I have a problem with textarea's
If you have text as a value in a textarea it will show with tabs
I have solved this as followed
//$fixedtextvalue = preg_replace("/>(\s|\t)*</U", ">\n<", $unfixedtextvalue);
$fixedtextvalue = preg_replace("/>(\s|\t)*<^(textarea)/U", ">\n<", $unfixedtextvalue);
But when you post a form with text as a value it will show tabs again.
I don't know how to solve this.
Perhaps you could have a look at it
Anyway, thanks for this nice class