I'm building a CMS and the content of a post is saved in HTML in the database.
On the page that lists posts, I would like to show the first n words / n characters, for the short version of the post with a "read more" button.
What would be the best way to strip the text from the HTML the right way, without making it look al weird?