From: <var...@us...> - 2012-11-14 17:52:38
|
Revision: 8464 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8464&view=rev Author: vargenau Date: 2012-11-14 17:52:31 +0000 (Wed, 14 Nov 2012) Log Message: ----------- Add brackets Modified Paths: -------------- trunk/lib/stdlib.php Modified: trunk/lib/stdlib.php =================================================================== --- trunk/lib/stdlib.php 2012-11-14 17:41:10 UTC (rev 8463) +++ trunk/lib/stdlib.php 2012-11-14 17:52:31 UTC (rev 8464) @@ -422,8 +422,9 @@ // FIXED: This was broken for moniker:TP30 test/image.png => url="moniker:TP30" attr="test/image.png" $ori_url = $url; // support new syntax: [prefix/image.jpg size=50% border=n] - if (empty($alt)) $alt = ""; - + if (empty($alt)) { + $alt = ""; + } if (!IsSafeURL($url)) { $link = HTML::span(array('class' => 'error'), _('Bad URL for image -- remove all of <, >, "')); return $link; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |