Truncating HTML while preserving structure
Truncating HTML is a bit of a pain - in a recent effort to change the layout of my site, I updated the index page to show the last five posts - truncated, of course. The problem with doing this is that the most common method of truncating a post