Showing 1 changed files with 2 additions and 2 deletions
+2 -2
sources/news-lepoint.fr.php
... ...
@@ -126,7 +126,7 @@ foreach ($articles as $article ) {
126 126
   $re = '/<a class="cboxElement" (.+?)><img (.+?)><\/a>/';
127 127
   $temp = preg_replace($re, '<img \\2>', $article_only);
128 128
   $article_only = $temp;
129
-  $re = '/<noscript>(.+?)<\/noscript>/';
129
+  $re = '/<noscript>(.+?)<\/noscript>/ms';
130 130
   $temp = preg_replace($re, '', $article_only);
131 131
   $article_only = $temp;
132 132
   
... ...
@@ -138,7 +138,7 @@ foreach ($articles as $article ) {
138 138
   $temp = preg_replace($re, '<img width="100%" src="\\5">', $article_only);
139 139
   $article_only = $temp;
140 140
 
141
-  $re = '/<img class="" src data-lazyload="loading" data-src="(.+?)" data-alt="(.+?)" width="(.+?)" height="(.+?)" alt title="(.+?)"\/>/';
141
+  $re = '/<img class="" src data-lazyload="loading" data-src="(.+?)" data-alt="(.+?)" width="(.+?)" height="(.+?)" alt title="(.+?)"\/>/ms';
142 142
   $temp = preg_replace($re, '<img width="100%" src="\\1">', $article_only);
143 143
   $article_only = $temp;
144 144