diff --git a/plugins/function.articlesummary.php b/plugins/function.articlesummary.php index ee321e1f6d1407d2bc96048ad67daa4b7c818128..7802ab000582bbe8147327c6a5ed6d28f335ede3 100644 --- a/plugins/function.articlesummary.php +++ b/plugins/function.articlesummary.php @@ -9,7 +9,7 @@ $linky = "<span style=\"float: right\"><a href=\"/News/".rawurlencode($title)."\">Read More</a></span>"; $matches = array(); - preg_match("/^(<p>.*?<\/p>)/", $article, $matches); + preg_match("/^(<p>.*?<\/p>)/s", $article, $matches); $summary = preg_replace("/<\/p>/","$linky</p>", $matches[0]); return $summary; }