baudehlo/Haraka — pull request #324 by godsflaw (2013-06-14 03:08:03+00:00)
Title: Fixes for all HTML bannering cases

This fixes HTML bannering for:

quoted-printable with _no_

or
quoted-printable with

or
base64 with _no_

or
base64 with

or

I have working tests for all of these cases. The only anomaly is with
quoted-printable HTML bannering cases. When we re-encode and assemble
the new buffer, we get an extra newline at the end. I believe this
is an artifact of quoted-printable encoding. It does not happen in the
base64 cases.