Currently, the scripts/patchtest-oe-summary, the one that creates a final summary based on patchtest results do not use any text template. This is not the best approach and system should use a default template, i.e. jinja2 template, allowing a clear separation between controller and view. This summary is sent to patchwork (see scritps/patchtest-oe-post) and for the moment it just accepts plain text, no html. In the near future, patchwork will support html so changing the template should be as trivial as possible.