change HTML truncation gem

The reasoning for this change is so that it doesn’t break <pre><code>
stuff. “truncate_html” is removing the “\n” totally breaking the
presentation of code blocks and rendering them on a single line