Change external renderer API to use HtmlWriter
Summary:
With this we no longer store intermediate results but write directly to
the final buffer throughout the entire rendering.
Reviewers: knauss
Reviewed By: knauss
Subscribers: KDE PIM
Tags: KDE PIM
Differential Revision: https://phabricator.kde.org/D8128