|  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
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.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [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-2024 The PHP Group
All rights reserved.
Last updated: Sun Mar 03 15:01:28 2024 UTC