From: Bernd Zeimetz Date: Sat, 21 Jun 2008 01:35:49 +0000 (+0200) Subject: Disable handling of "bare" links by the creole plugin. X-Git-Tag: 2.51~49 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/4a9567595a1e7daae0810986187391824db3f14a?hp=fbd8cea1b4d3ff335c9eb22030ff306a9538084b Disable handling of "bare" links by the creole plugin. This change needs libtext-wikicreole-perl (>= 0.05-2). Also removing custom link function, there's no need for it - if it is not defined, the unmodified markup will be returned. --- diff --git a/IkiWiki/Plugin/creole.pm b/IkiWiki/Plugin/creole.pm index a259f49eb..0c857d125 100644 --- a/IkiWiki/Plugin/creole.pm +++ b/IkiWiki/Plugin/creole.pm @@ -19,8 +19,8 @@ sub htmlize (@) { #{{{ return $content if $@; # don't parse WikiLinks, ikiwiki already does - creole_link(sub { return shift }); creole_customlinks(); + creole_custombarelinks(); return creole_parse($content); } # }}}