title: How do I control the number of lines displayed on a block of HTML-formatted user input?
body: <p>I have a Rails app that lets users input some HTML-formatted text (P, OL, UL, BLOCKQUOTE).  I now want to display a short summary of this text, but want to ensure that I'm only showing &lt;= 4 "lines".  I can try to shorten the text by the number of words displayed, but that might still end up in lots of lines if there are one-word LI elements, etc.  How can I do this?</p>