note 77357 added to function.nl2br

From: Date: Sun, 26 Aug 2007 06:03:24 +0000
Subject: note 77357 added to function.nl2br
Groups: php.notes 
Request: Send a blank email to php-notes+get-129789@lists.php.net to get a copy of this message
On the contrary, <b>mark at dreamjunky.comno-spam</b>, this function is rightfully named. Allow me to explain. Although it does re-add the line break, it does so in an attempt to stay standards-compliant with the W3C recommendations for code format. According to said recommendations, a new line character must follow a line break tag. In this situation, the new line is not removed, but a break tag is added for proper browser display where a paragraph isn't necessary or wanted. ---- Server IP: 69.147.83.197 Probable Submitter: 24.159.187.86 ---- Manual Page -- http://www.php.net/manual/en/function.nl2br.php Edit -- https://master.php.net/note/edit/77357 Del: integrated -- https://master.php.net/note/delete/77357/integrated Del: useless -- https://master.php.net/note/delete/77357/useless Del: bad code -- https://master.php.net/note/delete/77357/bad+code Del: spam -- https://master.php.net/note/delete/77357/spam Del: non-english -- https://master.php.net/note/delete/77357/non-english Del: in docs -- https://master.php.net/note/delete/77357/in+docs Del: other reasons-- https://master.php.net/note/delete/77357 Reject -- https://master.php.net/note/reject/77357 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#129789) next »