From: <var...@us...> - 2009-10-29 10:44:14
|
Revision: 7245 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7245&view=rev Author: vargenau Date: 2009-10-29 10:44:06 +0000 (Thu, 29 Oct 2009) Log Message: ----------- Use empty alt for [[Upload:image.jpg]] Modified Paths: -------------- trunk/lib/InlineParser.php Modified: trunk/lib/InlineParser.php =================================================================== --- trunk/lib/InlineParser.php 2009-10-29 09:33:54 UTC (rev 7244) +++ trunk/lib/InlineParser.php 2009-10-29 10:44:06 UTC (rev 7245) @@ -311,7 +311,7 @@ /** * [image.jpg size=50% border=5], [image.jpg size=50x30] * Support for the following attributes: see stdlib.php:LinkImage() - * size=<precent>%, size=<width>x<height> + * size=<percent>%, size=<width>x<height> * border=n, align=\w+, hspace=n, vspace=n * width=n, height=n * title, lang, id, alt @@ -471,7 +471,7 @@ if (empty($label) and isImageLink($link)) { // if without label => inlined image [File:xx.gif] $imgurl = $intermap->link($link); - return LinkImage($imgurl->getAttr('href'), $link); + return LinkImage($imgurl->getAttr('href')); } return new Cached_InterwikiLink($link, $label); } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |