|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51346 Extra whitespace when using <type> and plural
Submitted: 2010-03-21 23:55 UTC Modified: 2010-03-24 16:21 UTC
From: Assigned: degeberg (profile)
Status: Closed Package: Doc Build problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
 [2010-03-21 23:55 UTC]
The documentation contains things like "<type>string</type>s" and "<type>float</type>s" a lot of places. In the generated output, this results in markup like "<a href="foo">string"</a> s" ("string s").

Actually, it forces whitespace after <type>, so it gives problems with punctuation as well.

See for examples.

It didn't use to that with older versions of PhD.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-03-22 11:57 UTC]
-Status: Open +Status: Verified
 [2010-03-22 11:57 UTC]
I cannot remember the reason for that commit, and since there is no bug report 
attached to it I guess we can revert it...
 [2010-03-24 16:21 UTC]
Automatic comment from SVN on behalf of degeberg
Log: Fixed PHP bug #51346 (Extra whitespace when using &lt;type&gt; and plural), reverted r286473
 [2010-03-24 16:21 UTC]
-Status: Verified +Status: Closed -Assigned To: +Assigned To: degeberg
 [2010-03-24 16:21 UTC]
This bug has been fixed in SVN. Since the websites are not directly
updated from the SVN server, the fix might need some time to spread
across the globe to all mirror sites, including itself.

Thank you for the report, and for helping us make better.

 [2010-03-24 21:50 UTC]
Automatic comment from SVN on behalf of degeberg
Log: Added PhD package.xml note for #51346
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Dec 05 13:01:26 2023 UTC