See ContributedFilters

Overview#

This filter automatically converts url strings into links, on preSave() by adding square brackets to them.
http://google.com
becomes
[http://google.com]

Written by David Vittor
Date 07-Feb-2015
Plugin Version 0.3
Wiki Versions 2.10.1+
Demo N/A
Details http://digitalspider.com.au/JSPWiki/Wiki.jsp?page=AutoLinkHtmlFilter
Issues https://github.com/digitalspider/jspwiki-plugins/issues
Plugin AutoLinkHtmlFilter-0.3.jar(info)
Dependencies None

Usage#

  • Place the jar file into your <tomcatDir>/webapps/JSPWiki/WEB-INF/lib/ directory
  • Add the following to your <tomcatDir>/webapps/JSPWiki/WEB-INF/classes/filter.xml file:
<?xml version="1.0"?>
<pagefilters>
  ... Any other filters ...
  <filter>
    <class>com.digitalspider.jspwiki.filter.AutoLinkHtmlFilter</class>
  </filter>
</pagefilters>
  • Restart your tomcat

Parameters#

Param Description Default

Properties#

Property Description Default

Release History#

v0.3
  • This plugin now ignores content inside { { { the no fomrat tags } } }
v0.2
  • Fixed problem with URLs inside the parameters/body of plugins. This content is now ignored by the plugin.
v0.1
  • initial Release