cvs: pear /Text_Wiki/Text/Wiki/Render/Xhtml Wikilink.php

From: Date: Tue, 28 Feb 2006 03:15:09 +0000
Subject: cvs: pear /Text_Wiki/Text/Wiki/Render/Xhtml Wikilink.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-38720@lists.php.net to get a copy of this message
justinpatrin Tue Feb 28 03:15:09 2006 UTC Modified files: /pear/Text_Wiki/Text/Wiki/Render/Xhtml Wikilink.php Log: When text option is empty, use page which is not urlEncoded and textEncode it http://cvs.php.net/viewcvs.cgi/pear/Text_Wiki/Text/Wiki/Render/Xhtml/Wikilink.php?r1=1.16&r2=1.17&diff_format=u Index: pear/Text_Wiki/Text/Wiki/Render/Xhtml/Wikilink.php diff -u pear/Text_Wiki/Text/Wiki/Render/Xhtml/Wikilink.php:1.16 pear/Text_Wiki/Text/Wiki/Render/Xhtml/Wikilink.php:1.17 --- pear/Text_Wiki/Text/Wiki/Render/Xhtml/Wikilink.php:1.16 Tue Feb 28 02:25:13 2006 +++ pear/Text_Wiki/Text/Wiki/Render/Xhtml/Wikilink.php Tue Feb 28 03:15:09 2006 @@ -9,7 +9,7 @@ * @package Text_Wiki * @author Paul M. Jones <pmjones@php.net> * @license http://www.gnu.org/copyleft/lesser.html LGPL License 2.1 - * @version CVS: $Id: Wikilink.php,v 1.16 2006/02/28 02:25:13 justinpatrin Exp $ + * @version CVS: $Id: Wikilink.php,v 1.17 2006/02/28 03:15:09 justinpatrin Exp $ * @link http://pear.php.net/package/Text_Wiki */ @@ -163,7 +163,7 @@ } } if (!strlen($text)) { - $start .= $page; + $start .= $this->textEncode($options['page']); } if (isset($type)) { switch ($type) {

« previous php.pear.cvs (#38720) next »