Re: escape \n
| From: | Lupus Michaelis | Date: | Fri, 23 Apr 2010 14:41:23 +0000 |
| Subject: | Re: escape \n | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-304476@lists.php.net to get a copy of this message | ||
Le 23/04/2010 10:05, Ashley Sheridan a écrit :
By default, PHP sends out HTML headers. Browsers ignore extraneous white-space characters, and also new lines, carriage returns and tabs, converting them all to a single space character.For completeness, the white-space discarding depends about the context the characters are met. For more inside, Nick could look into <http://www.w3.org/TR/html401/struct/text.html>. So said, the browser doesn't convert, it renders ;) -- Mickaël Wolff aka Lupus Michaelis http://lupusmic.org