cvs: phd(PHD_0_4) /formats xhtml.php

From: Date: Thu, 01 Jan 2009 23:09:30 +0000
Subject: cvs: phd(PHD_0_4) /formats xhtml.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-2910@lists.php.net to get a copy of this message
bjori Thu Jan 1 23:09:30 2009 UTC Modified files: (Branch: PHD_0_4) /phd/formats xhtml.php Log: Fixed bug#46924 (parameter elements force incorrect line breaks). (Hannes) http://cvs.php.net/viewvc.cgi/phd/formats/xhtml.php?r1=1.67.2.2.2.11&r2=1.67.2.2.2.12&diff_format=u Index: phd/formats/xhtml.php diff -u phd/formats/xhtml.php:1.67.2.2.2.11 phd/formats/xhtml.php:1.67.2.2.2.12 --- phd/formats/xhtml.php:1.67.2.2.2.11 Thu Jan 1 22:53:26 2009 +++ phd/formats/xhtml.php Thu Jan 1 23:09:30 2009 @@ -1,5 +1,5 @@ <?php -/* $Id: xhtml.php,v 1.67.2.2.2.11 2009/01/01 22:53:26 bjori Exp $ */ +/* $Id: xhtml.php,v 1.67.2.2.2.12 2009/01/01 23:09:30 bjori Exp $ */ class XHTMLPhDFormat extends PhDFormat { protected $elementmap = array( /* {{{ */ @@ -1128,7 +1128,7 @@ return "</div>\n" . $this->restorePara(); } public function format_programlisting_text($value, $tag) { - return $this->CDATA($value); + return nl2br($value); } public function format_screen($open, $name, $attrs) { if ($open) {

« previous php.doc.cvs (#2910) next »