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

From: Date: Fri, 29 Jul 2005 12:36:12 +0000
Subject: cvs: pear /Text_Wiki/Text/Wiki/Render/Xhtml Anchor.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-33455@lists.php.net to get a copy of this message
toggg Fri Jul 29 08:36:12 2005 EDT Modified files: /pear/Text_Wiki/Text/Wiki/Render/Xhtml Anchor.php Log: Fixing back justin's commit by synch with tiki http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Render/Xhtml/Anchor.php?r1=1.7&r2=1.8&ty=u Index: pear/Text_Wiki/Text/Wiki/Render/Xhtml/Anchor.php diff -u pear/Text_Wiki/Text/Wiki/Render/Xhtml/Anchor.php:1.7 pear/Text_Wiki/Text/Wiki/Render/Xhtml/Anchor.php:1.8 --- pear/Text_Wiki/Text/Wiki/Render/Xhtml/Anchor.php:1.7 Thu Oct 28 16:19:31 2004 +++ pear/Text_Wiki/Text/Wiki/Render/Xhtml/Anchor.php Fri Jul 29 08:36:11 2005 @@ -25,7 +25,7 @@ if ($type == 'start') { $css = $this->formatConf(' class="%s"', 'css'); $format = "<a$css id=\"%s\">"; - return sprintf($format ,$name); + return sprintf($format, htmlentities($name)); } if ($type == 'end') {

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