middleman/middleman-blog — pull request #70 by rumpuslabs (2012-08-13 02:55:30+00:00)
Title: Create summary from source instead of output

The old way of generating an article summary by splitting at an empty
line could result in unclosed html tags. This patch avoids that in many
cases, by counting words and splitting on the source file instead of the
rendered output, and then rendering the summary separately.