From: Karsten D. <k.d...@tu...> - 2001-03-06 17:22:25
|
On Tue, Mar 06, 2001 at 09:12:17AM -0500, Matt McNaney wrote: > them. If anyone is wondering why we have to change them, nl2br converts > newlines (\n) to break tags <br>. Unfortunately, <br> is not XHTML > compatible so the tag needs to be <br />. > As for alerting the php developers, no we haven't done that yet. Please > alert them and we will as well. In the meantime, I'll change ereg's to > str_replace. I mailed to the php-dev list and got a reply _fast_! This is laready done in CVS and will be out with the upcoming PHP 4.0.5. So we can change everything back to nl2br - if we rely on people installing the new PHP release. Should we do that? Why not? Any thoughts on this? I would prefer using native functions (nl2br in this case) because they are faster and less error prone. > >No offense :-) > None taken ^_~ Fine :-) Regards, Karsten --=20 Why do we have to hide from the police, daddy? Because we use emacs, son. They use vi. ----------------------------- mailto:k.d...@tu... w=B3: http://www.k-fish.de/ gpg: http://www.k-fish.de/mykeys.gpg |