aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--inc/functions.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/inc/functions.php b/inc/functions.php
index b27120c5..0303aab6 100644
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -134,8 +134,7 @@ function prepare_url($url)
134 $r = new Readability($html, $url); 134 $r = new Readability($html, $url);
135 135
136 $r->convertLinksToFootnotes = CONVERT_LINKS_FOOTNOTES; 136 $r->convertLinksToFootnotes = CONVERT_LINKS_FOOTNOTES;
137 $r->debug=true; 137 $r->revertForcedParagraphElements = REVERT_FORCED_PARAGRAPH_ELEMENTS;
138 $r->revertForcedParagraphElements = REVERT_FORCED_PARAGRAPH_ELEMENTS;
139 138
140 if($r->init()) 139 if($r->init())
141 { 140 {
@@ -372,4 +371,4 @@ function logm($message)
372{ 371{
373 $t = strval(date('Y/m/d_H:i:s')).' - '.$_SERVER["REMOTE_ADDR"].' - '.strval($message)."\n"; 372 $t = strval(date('Y/m/d_H:i:s')).' - '.$_SERVER["REMOTE_ADDR"].' - '.strval($message)."\n";
374 file_put_contents('./log.txt',$t,FILE_APPEND); 373 file_put_contents('./log.txt',$t,FILE_APPEND);
375} \ No newline at end of file 374}