]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
les liens sont maintenant transformés en note de bas de page
authornicosomb <nicolas@loeuillet.org>
Wed, 17 Apr 2013 12:12:54 +0000 (14:12 +0200)
committernicosomb <nicolas@loeuillet.org>
Wed, 17 Apr 2013 12:12:54 +0000 (14:12 +0200)
inc/functions.php

index 6c05c327e9dbab29e4d74bb9d5b3ec726162c42e..02d2c9dc12b1f05283b6374b0ef9ef86489d72d7 100755 (executable)
@@ -109,6 +109,7 @@ function prepare_url($url)
     if (isset($html) and strlen($html) > 0)
     {
         $r = new Readability($html, $url);
+        $r->convertLinksToFootnotes = TRUE;
         if($r->init())
         {
             $title = $r->articleTitle->innerHTML;