note 22838 deleted from function.htmlentities by spic

From: Date: Thu, 19 Sep 2002 21:32:11 +0000
Subject: note 22838 deleted from function.htmlentities by spic
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-36985@lists.php.net to get a copy of this message
To the above comment: The code is not intended to change the document itself, but rather is there to print the document in a visually pleasing manor. The line: $content = ereg_replace (" ", "&nbsp;", $content); Is there to keep propper spacing (if more than once space is there, it will show more than one space). In the source you will see <br&nbsp;/> however, on the viewed document it will show up as <br />

« previous php.notes (#36985) next »