Don't forget the classic
$ascii = "<PRE>$ascii</PRE>";
While not technically HTML, it will probably emulate your textarea (including tabs!) better than any regex will. :)
In reply to Re: ASCII to HTML
by turnstep
in thread ASCII to HTML
by skazat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |