Truncate string to certain amount of characters, ignoring HTML
$this->load->helper('text');echo word_limiter(strip_tags($description),40);
tha's what i do for meta description, try it http://caverne.fr
$this->load->helper('text');echo word_limiter(strip_tags($description),40);
tha's what i do for meta description, try it http://caverne.fr