I'm working on a simple blog project. I'd like to automatically
generate a 100 word excerpt of each article to display on the main
page, and require the user to click on the article to read the whole
thing. The problem is, if the hundredth word is in the middle of a
block quote or a heading or something, the whole page gets messed up.
What's the easiest way to close any tags that might still be open at
the end of the excerpt?
For what it's worth, posts are marked up using textile and
Thanks for your help,