cvs: phpweb /include layout.inc

From: Date: Wed, 30 Oct 2002 09:12:12 +0000
Subject: cvs: phpweb /include layout.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-13307@lists.php.net to get a copy of this message
goba Wed Oct 30 04:12:12 2002 EDT Modified files: /phpweb/include layout.inc Log: Doh, we need " &nbsp;" because of odd number of spaces sometimes at the begining of the line... Index: phpweb/include/layout.inc diff -u phpweb/include/layout.inc:1.103 phpweb/include/layout.inc:1.104 --- phpweb/include/layout.inc:1.103 Wed Oct 30 03:43:13 2002 +++ phpweb/include/layout.inc Wed Oct 30 04:12:12 2002 @@ -1,5 +1,5 @@ <?php -/* $Id: layout.inc,v 1.103 2002/10/30 08:43:13 goba Exp $ */ +/* $Id: layout.inc,v 1.104 2002/10/30 09:12:12 goba Exp $ */ # spacer() # print a IMG tag for a sized spacer GIF @@ -389,7 +389,7 @@ } // Preserve spacing of user notes - $text = str_replace(" ", "&nbsp; ", $text); + $text = str_replace(" ", " &nbsp;", $text); $text = "<code class=\"note\">".$text."</code>"; return $text;

« previous php.mirrors (#13307) next »