fix: fix minor html bug

This commit is contained in:
Shannon Sterz 2017-08-17 12:32:06 +02:00
parent 7962506084
commit 8f2363b3e9

View file

@ -28,7 +28,7 @@ function split_words($string, $url) {
$stringCut = substr($string, 0, 1000);
// make sure it ends in a word so assassinate doesn't become ass...
$string = substr($stringCut, 0, strrpos($stringCut, ' ')).'... <br> <a href="' . $url . '">Read More &rarr;</a>';
$string = substr($stringCut, 0, strrpos($stringCut, ' ')).'... </p><p> <a href="' . $url . '">Read More &rarr;</a></p>';
}