I'm trying to get PEAR Wiki Filter to ignore inline image links when using the mediawiki filter.
Default behaviour for MediaWiki is to convert a plaintext URL to an image,
e.g.
http://www.exaple.com/image.jpg
to something with
tags, meaning that the image becomes hotlinked.
I'm trying to disable this and treat an image link as any other inline URL- just make a link to the file. What's the quickest way to achieve this?
Any help mcuh appreciated!
Thanks,
Chris.
Comments
Comment #1
chrism2671 commentedFigured this out- edit URL.php in the Xhtml render part of the pear filter.