[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] =?utf-8?q?svn:_/phd/trunk/phpdotnet/phd/Package/Generic/_XHTML.php?=
From:       Richard_Quadling <rquadling () php ! net>
Date:       2009-12-30 12:06:19
Message-ID: svn-rquadling-1262174779-292797-1427903766 () svn ! php ! net
[Download RAW message or body]

rquadling                                Wed, 30 Dec 2009 12:06:19 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=292797

Log:
Remove superfluous \n to output of PhD. This removes whitespace after some tags.
Fix #49849

Bug: http://bugs.php.net/49849 (Open) Minor issue with unwanted linebreaks
      
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	2009-12-30 11:53:05 UTC (rev \
                292796)
+++ phd/trunk/phpdotnet/phd/Package/Generic/XHTML.php	2009-12-30 12:06:19 UTC (rev \
292797) @@ -589,7 +589,7 @@
                 $content = "&raquo; ";
             }
             if ($props["empty"]) {
-                $content .= $link ."</a>\n";
+                $content .= $link ."</a>";
             }

             return '<a href="' . $link . '" class="' . $name . $class . '">' . \
$content; @@ -962,7 +962,7 @@
             }
             return '<i><tt class="parameter">';
         }
-        return "</tt></i>\n";
+        return "</tt></i>";
     }

     public function format_void($open, $name, $attrs) {
@@ -1001,7 +1001,7 @@
         if ($open) {
             return '<var class="'.$name.'">$';
         }
-        return "</var>\n";
+        return "</var>";
     }
     public function format_fieldsynopsis_varname($open, $name, $attrs) {
         if ($open) {
@@ -1171,13 +1171,13 @@
             }
             return '<span class="' .$name. '">';
         }
-        return "</span>\n";
+        return "</span>";
     }
     public function format_userinput($open, $name, $attrs) {
         if ($open) {
             return '<strong class="' .$name. '"><code>';
         }
-        return "</code></strong>\n";
+        return "</code></strong>";
     }
     public function format_systemitem($open, $name, $attrs) {
         if ($open) {
@@ -1189,7 +1189,7 @@
                 return '<code class="systemitem ' .$name. '">';
             }
         }
-        return "</code>\n";
+        return "</code>";
     }
     public function format_example_content($open, $name, $attrs) {
         if ($open) {
@@ -1342,7 +1342,7 @@

             foreach ($this->cchunk["tablefootnotes"] as $k => $noteid) {
                 $str .= '<div class="footnote">';
-                $str .= '<a name="fnid' .$noteid. '" href="#fn' .$noteid .'"><sup>[' \
.($k + 1). ']</sup></a>' .$this->cchunk["footnote"][$k]["str"] . "\n"; +              \
$str .= '<a name="fnid' .$noteid. '" href="#fn' .$noteid .'"><sup>[' .($k + 1). \
']</sup></a>' .$this->cchunk["footnote"][$k]["str"];  \
unset($this->cchunk["footnote"][$k]);  $str .= "</div>\n";



-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic