Browse Source

fix pm_snippet bug

pull/40/head
Michael Foster 9 years ago
parent
commit
94ac200d57
  1. 2
      inc/display.php

2
inc/display.php

@ -112,7 +112,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…
Cancel
Save