fix: fix minor html bug
This commit is contained in:
parent
7962506084
commit
8f2363b3e9
1 changed files with 1 additions and 1 deletions
|
@ -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 →</a>';
|
||||
$string = substr($stringCut, 0, strrpos($stringCut, ' ')).'... </p><p> <a href="' . $url . '">Read More →</a></p>';
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue