#47247 [NEW]: Method synopsis typo damages page

From: Date: Fri, 30 Jan 2009 01:09:27 +0000
Subject: #47247 [NEW]: Method synopsis typo damages page
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-1779@lists.php.net to get a copy of this message
From:             a at b dot c dot de
Operating system: Irrelevant
PHP version:      Irrelevant
PHP Bug Type:     Documentation problem
Bug description:  Method synopsis typo damages page

Description:
------------
Two pages in the manual have errors in their method descriptions that
cause the typesetting of the rest of the page to be incorrect: everything
from that point on ends up using monospaced text.

<div class="methodsynopsis dc-description">
    <span class="type">resource</span> <span
class="methodname"><b>PDF_new</b></span>
     ( <span class="methodparam"> <tt
class="parameter">$</span>

    )</div>

The '$' shouldn't be there as these methods do not take arguments, and the
<tt class="parameter"> is never closed, causing the formatting glitch.

This also affects downloadable forms of the manual, including bightml
(where it was originally found).

Reproduce code:
---------------
http://www.php.net/samconnection-constructor
http://www.php.net/pdf-new



-- 
Edit bug report at http://bugs.php.net/?id=47247&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        http://bugs.php.net/fix.php?id=47247&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        http://bugs.php.net/fix.php?id=47247&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        http://bugs.php.net/fix.php?id=47247&r=trysnapshot60
Fixed in CVS:                        http://bugs.php.net/fix.php?id=47247&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47247&r=needdocs
Fixed in release:                    http://bugs.php.net/fix.php?id=47247&r=alreadyfixed
Need backtrace:                      http://bugs.php.net/fix.php?id=47247&r=needtrace
Need Reproduce Script:               http://bugs.php.net/fix.php?id=47247&r=needscript
Try newer version:                   http://bugs.php.net/fix.php?id=47247&r=oldversion
Not developer issue:                 http://bugs.php.net/fix.php?id=47247&r=support
Expected behavior:                   http://bugs.php.net/fix.php?id=47247&r=notwrong
Not enough info:                     http://bugs.php.net/fix.php?id=47247&r=notenoughinfo
Submitted twice:                     http://bugs.php.net/fix.php?id=47247&r=submittedtwice
register_globals:                    http://bugs.php.net/fix.php?id=47247&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=47247&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=47247&r=dst
IIS Stability:                       http://bugs.php.net/fix.php?id=47247&r=isapi
Install GNU Sed:                     http://bugs.php.net/fix.php?id=47247&r=gnused
Floating point limitations:          http://bugs.php.net/fix.php?id=47247&r=float
No Zend Extensions:                  http://bugs.php.net/fix.php?id=47247&r=nozend
MySQL Configuration Error:           http://bugs.php.net/fix.php?id=47247&r=mysqlcfg



Thread (2 messages)

« previous php.doc.bugs (#1779) next »