aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc
diff options
context:
space:
mode:
authornicosomb <nicolas@loeuillet.org>2013-04-17 14:12:54 +0200
committernicosomb <nicolas@loeuillet.org>2013-04-17 14:12:54 +0200
commit4456315b217f4eb253fc4403e43cdcb0012356e6 (patch)
treeff743294e99c3d996aa2a21a5095090a35010ae8 /inc
parenta81cd067d07c3b8a8714cc919303b93b740b699b (diff)
downloadwallabag-4456315b217f4eb253fc4403e43cdcb0012356e6.tar.gz
wallabag-4456315b217f4eb253fc4403e43cdcb0012356e6.tar.zst
wallabag-4456315b217f4eb253fc4403e43cdcb0012356e6.zip
les liens sont maintenant transformés en note de bas de page
Diffstat (limited to 'inc')
-rwxr-xr-xinc/functions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/functions.php b/inc/functions.php
index 6c05c327..02d2c9dc 100755
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -109,6 +109,7 @@ function prepare_url($url)
109 if (isset($html) and strlen($html) > 0) 109 if (isset($html) and strlen($html) > 0)
110 { 110 {
111 $r = new Readability($html, $url); 111 $r = new Readability($html, $url);
112 $r->convertLinksToFootnotes = TRUE;
112 if($r->init()) 113 if($r->init())
113 { 114 {
114 $title = $r->articleTitle->innerHTML; 115 $title = $r->articleTitle->innerHTML;