Shorten text without splitting words or breaking html tags
Sección: Programación
Creado: 22-12-24 (Actualizado: 22-02-22)
I am trying to cut off text after 236 chars without cutting words in half and preserving html tags. This is what I am using right now:
$shortdesc = $_helper->productAttribute($_product, $_produ...
http://stackoverflow.com/questions/16583676/shorten-text-without-splitting-words-or-breaking-html-tags