#47196 [NEW]: improve render of initializer tag
From: pear at laurent-laville dot org
Operating system:
PHP version: Irrelevant
PHP Bug Type: Doc Build problem
Bug description: improve render of initializer tag
Description:
------------
This is not a bug, just a request to improve render (xhtml, pdf ...)
While I found, few days ago [1], that the PEAR Manual xhtml render shown
two equal sign for initializer docbook tag, I've fixed the full PEAR
repository to suppress this.
But I see that the equal sign was always too close to default parameter
value.
For example
$raw =TRUE
To improve the render to this one (notice the blank after =):
$raw = TRUE
I propose to patch the current version 0.4.3 of PhD,
xhtml.php,v 1.67.2.2.2.16 2009/01/07 18:06:27 bjori
with, in format_initializer() function
replace line 813:
return '<span class="'.$name.'">=';
by:
return '<span class="'.$name.'">= ';
PS: don't forget to see also the pdf renderer (even if I've not tested
yet, I suppose we have the same problem)
Laurent
[1] http://news.php.net/php.pear.doc/11345
--
Edit bug report at http://bugs.php.net/?id=47196&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47196&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47196&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47196&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=47196&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47196&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=47196&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=47196&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=47196&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=47196&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=47196&r=support
Expected behavior: http://bugs.php.net/fix.php?id=47196&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=47196&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=47196&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=47196&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47196&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=47196&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=47196&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=47196&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=47196&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=47196&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=47196&r=mysqlcfg
Thread (2 messages)
- pear at laurent-laville dot org