For Programmers: Free Programming Magazines  


Home > Archive > PHP Mirrors > April 2005 > #28958 [Fbk->Opn]: Lost spaces in examples









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #28958 [Fbk->Opn]: Lost spaces in examples
Vrana@Php.Net

2005-04-14, 8:56 am

ID: 28958
User updated by: vrana@php.net
Reported By: vrana@php.net
-Status: Feedback
+Status: Open
Bug Type: Website problem
Operating System: Irrelevant
PHP Version: Irrelevant
New Comment:

Yes, please.


Previous Comments:
------------------------------------------------------------------------

[2005-04-14 09:31:23] tony2001@php.net

Is it still required?

------------------------------------------------------------------------

[2004-06-29 10:23:57] 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/langua...ean.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 ",
- '  '
+ '  '
),
$highlighted
) . '</div>';




------------------------------------------------------------------------


--
Edit this bug report at http://bugs.php.net/?id=28958&edit=1
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com