svn: /phd/trunk/phpdotnet/phd/Package/Generic/ XHTML.php
| From: | Daniel Egeberg | Date: | Wed, 24 Mar 2010 15:21:26 +0000 |
| Subject: | svn: /phd/trunk/phpdotnet/phd/Package/Generic/ XHTML.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-6258@lists.php.net to get a copy of this message | ||
degeberg Wed, 24 Mar 2010 15:21:26 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=296725
Log:
Fixed PHP bug #51346 (Extra whitespace when using <type> and plural), reverted r286473
Bug: http://bugs.php.net/51346 (Verified) Extra whitespace
when using <type> and plural
Changed paths:
U phd/trunk/phpdotnet/phd/Package/Generic/XHTML.php
Modified: phd/trunk/phpdotnet/phd/Package/Generic/XHTML.php
===================================================================
--- phd/trunk/phpdotnet/phd/Package/Generic/XHTML.php 2010-03-24 15:17:57 UTC (rev 296724)
+++ phd/trunk/phpdotnet/phd/Package/Generic/XHTML.php 2010-03-24 15:21:26 UTC (rev 296725)
@@ -310,7 +310,7 @@
'titleabbrev' => 'format_suppressed_tags',
'token' => 'tt',
'trademark' => 'format_trademark',
- 'type' => 'format_spaced_span',
+ 'type' => 'span',
'userinput' => 'format_userinput',
'uri' => 'tt',
'variablelist' => 'format_variablelist',
@@ -1523,13 +1523,6 @@
return '<<a href="mailto:' . $value .
'">' . $value . '</a>>';
}
- public function format_spaced_span($open, $name, $attrs, $props) {
- if ($open) {
- return " " . parent::transformFromMap($open, "span", $name, $attrs,
$props);
- }
- return parent::transformFromMap($open, "span", $name, $attrs, $props) . "
";
- }
-
public function format_bold_paragraph($open, $name, $attrs, $props) {
if ($props["empty"]) {
return "";