I have page with news. I'm displaying them as a shortened text (300 chars limit), I'm removing any images using preg_replace() and everything looks fine, until someone uses line breaks in his post. Things gets messy then and my height is way to high sometimes. Ofc I'm using overflow: hidden;
but its not as good as I would like it to be. Is there a way to trim out those spaces, remove <strong>
if someone uses it etc.? So my news page looks always as awesome as it should?
Cheers