Attached patch improves the way how formatBody
function cleans up HTML. If user prefers not to show HTML by default, but email message doesn't have a plaintext version, SquirrelMail simply strips out all HTML tags from message and presents the result. This patch adds few changes to this:
<style>
tags removed together with their contentsAttached images show an HTML message before and after applying this patch.
This is great work - thank you. Sorry that notification didn't go out to the team for this or it would have been added earlier. Nice work.