X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=plugins%2Flink.py;h=b0d673b306991beb4fcb17bec4940aaa8b105a07;hb=60f96e570d30a5d9de3db805ad8c8ce6a833f087;hp=d8c42149434ed60f5c1bb71c026a01307ce35755;hpb=e36935c390bf289c41a07f742aad14dadf058927;p=webber.git diff --git a/plugins/link.py b/plugins/link.py index d8c4214..b0d673b 100644 --- a/plugins/link.py +++ b/plugins/link.py @@ -72,12 +72,7 @@ def test_sub(): res = reLink.sub(do_link, s) print "", res -#test_link() -#test_sub() - - - @set_hook("linkify") def linkify(params): - return reLink.sub(do_link, params.file.contents) + params.file.contents = reLink.sub(do_link, params.file.contents)