Open u007 opened 11 years ago
public function createExtract($text, $length = 200,$search = '',$ellipsis = '...') { //$text = trim(preg_replace('/\s+/', ' ', $this->sanitize($text)));
Removing preg_replace seems to work, leaving only sanitize
example: [p] [/p] [td] [/td]
[p]a[/p] - this is okay
public function createExtract($text, $length = 200,$search = '',$ellipsis = '...') { //$text = trim(preg_replace('/\s+/', ' ', $this->sanitize($text)));
Removing preg_replace seems to work, leaving only sanitize