forked from leftypol/leftypol
Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts: install.php
This commit is contained in:
commit
069f1def9b
13 changed files with 173 additions and 82 deletions
|
@ -126,7 +126,7 @@ function pm_snippet($body, $len=null) {
|
|||
$len = &$config['mod']['snippet_length'];
|
||||
|
||||
// Replace line breaks with some whitespace
|
||||
$body = str_replace('<br/>', ' ', $body);
|
||||
$body = preg_replace('@<br/?>@i', ' ', $body);
|
||||
|
||||
// Strip tags
|
||||
$body = strip_tags($body);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue