Showing 1 changed files with 1 additions and 1 deletions
+1 -1
sources/news-scmp.php
... ...
@@ -105,7 +105,7 @@ foreach ($articles as $article ) {
105 105
                   } else if( $contentType == "img" ) {
106 106
                     $imgTitle = $htmlItem["children"][0]["attribs"]["title"];
107 107
                     $imgUrl = $htmlItem["children"][0]["attribs"]["src"];
108
-                    $tempArticle .= "<p><img src=\"".$imgUrl."\"><em>".$imgTitle."</em></p>".PHP_EOL;
108
+                    $tempArticle .= "<div class=\"img-scmp\" style=\"text-align: center;\"><img src=\"".$imgUrl."\"><em style=\"display: block;\">".$imgTitle."</em></div>".PHP_EOL;
109 109
                   }
110 110
                 }
111 111
               }