bjori Tue Aug 14 11:46:26 2007 UTC
Modified files: /phd/formats xhtml.php Log: Fix consistency in methodsynopsis WS http://cvs.php.net/viewvc.cgi/phd/formats/xhtml.php?r1=1.16&r2=1.17&diff_format=u Index: phd/formats/xhtml.php diff -u phd/formats/xhtml.php:1.16 phd/formats/xhtml.php:1.17 --- phd/formats/xhtml.php:1.16 Sat Aug 11 16:42:06 2007 +++ phd/formats/xhtml.php Tue Aug 14 11:46:26 2007 @@ -1,5 +1,5 @@ <?php -/* $Id: xhtml.php,v 1.16 2007/08/11 16:42:06 bjori Exp $ */ +/* $Id: xhtml.php,v 1.17 2007/08/14 11:46:26 bjori Exp $ */ class XHTMLPhDFormat extends PhDFormat { protected $elementmap = array( /* {{{ */ @@ -207,7 +207,7 @@ if ($this->params["opt"]) { $content = str_repeat("]", $this->params["opt"]); } - $content .= ")"; + $content .= " )"; $content .= "</div>\n"; @@ -220,7 +220,7 @@ } return ' <tt class="parameter">$'; } - return "</tt>\n"; + return "</tt>"; } public function format_parameter($open, $name, $attrs) {