Author: jtwyford+wmbz
Description:
Image links pointing to external sites using the File: syntax, (not the <imagelink> extension) are not adding the rel=nofollow attribute to the anchors.
Example:
[[File:Foo.jpg|alt=Foo|link=http://example.com]]
Produces:
<a href="http://example.com"><img alt="Foo" src="http://path/to/foo.jpg" border="0" height="22" width="22"></a>
Should be:
<a href="http://example.com" rel="nofollow"><img alt="Foo" src="http://path/to/foo.jpg" border="0" height="22" width="22"></a>
Regular external links [http://example.com Foo] work properly and include the nofollow attribute.
Version: 1.15.x
Severity: normal