diff --git a/system/includes/functions.php b/system/includes/functions.php index d5e928d..442032f 100644 --- a/system/includes/functions.php +++ b/system/includes/functions.php @@ -513,7 +513,7 @@ function get_posts($posts, $page = 1, $perpage = 0) $more = explode('', $content); if (isset($more['1'])) { - $content = $more['0'] . '
' . "\n\n" . '' . $more['1']; + $content = $more['0'] . '
' . $more['1']; } // Get the contents and convert it to HTML @@ -2273,10 +2273,8 @@ function get_teaser($string, $url = null, $char = null) if ($teaserType === 'full') { $readMore = explode('', $string); if (isset($readMore['1'])) { - $patterns = array('
', '


'); - $string = str_replace($patterns, '', $readMore['0']); - $string = replace_href($string, 'a', 'footnote-ref', $url); - return $string . ''; + $string = replace_href($readMore['0'], 'a', 'footnote-ref', $url); + return $string . ''; } else { return $string; }