Posted: Sat Sep 25, 2004 1:03 pm
do the nl2br first. in the highlighter, before passing it through the highlighting function itself, pre process out the nl2br'd content.. process the highlighting as usual.
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/