Fix encoding of last line
authorAndre Heinecke <aheinecke@intevation.de>
Fri, 7 Sep 2018 08:28:11 +0000 (10:28 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Fri, 7 Sep 2018 08:30:28 +0000 (10:30 +0200)
commita0671ccbb477e31d25547532004fa6fd16a29f78
tree607d341e529a98cff05a2968e181d47454ae2dae
parent50c514d6bd6026076f5f467b7d8523dff2ce97aa
Fix encoding of last line

* src/mimedataprovider.cpp (get_body, get_html_body): Don't
append raw undecoded data anymore.
(MimeDataProvider::finalize): New. Parse the last unfinished data.
* src/parsecontroller.cpp (ParseController::parse): Call
finalize.

--
Before this a quoted printable line without a line feed at the
end would not be decoded. Leading to a broken display.
src/mimedataprovider.cpp
src/mimedataprovider.h
src/parsecontroller.cpp