dever %!s(int64=6) %!d(string=hai) anos
pai
achega
d51f8c45c0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      content/lib/Article.php

+ 1 - 1
content/lib/Article.php

@@ -53,7 +53,7 @@ class Article
             
             
             if (!isset($matches[2][0])) {
-                preg_match_all('/<img(.*?)data-key="(.*?)" data-id="(.*?)" \/>([\s]+)/', $data['content'], $matches);
+                preg_match_all('/<img(.*?)data-key="(.*?)" data-id="(.*?)" \/>/', $data['content'], $matches);
                 $temp = array();
                 if (isset($matches[2][0]) && isset($matches[3][0])) {
                     $temp = $matches;