php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28958 Lost spaces in examples
Submitted: 2004-06-29 10:23 UTC Modified: 2005-09-14 01:00 UTC
From: vrana@php.net Assigned:
Status: No Feedback Package: Website problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: vrana@php.net
New email:
PHP Version: OS:

 

 [2004-06-29 10:23 UTC] vrana@php.net
Description:
------------
One space is lost in examples if there is odd number of spaces greater than 3. See e.g. http://www.php.net/manual/en/language.types.boolean.php#AEN2401

Here is the patch:

Index: layout.inc
===================================================================
RCS file: /repository/phpweb/include/layout.inc,v
retrieving revision 1.202
diff -u -r1.202 layout.inc
--- layout.inc	10 Apr 2004 10:52:24 -0000	1.202
+++ layout.inc	29 Jun 2004 08:16:26 -0000
@@ -38,7 +38,7 @@
             '<span class="',
             '</span>',
             "\n&nbsp;",
-            '&nbsp; '
+            ' &nbsp;'
         ),
         $highlighted
     ) . '</div>';



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-04-14 09:31 UTC] tony2001@php.net
Is it still required?
 [2005-04-14 09:37 UTC] vrana@php.net
Yes, please.
 [2005-09-06 16:04 UTC] sniper@php.net
Still required? I can't see the reason why..
The examples on that page look just fine to me.
 [2005-09-14 01:00 UTC] php-mirrors at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 13:01:28 2024 UTC