From: Paul L. <pa...@sq...> - 2020-07-23 16:17:01
|
On Thu, July 23, 2020 10:46 am, Alexey Shpakovsky wrote: > On Tue, July 21, 2020 03:09, Paul Lesniewski wrote: >> >> On Sun, July 19, 2020 11:33 pm, Alexey Shpakovsky via squirrelmail-devel >> wrote: >> >>> Hello SquirrelMail devs, >>> >>> >>> First of all, thanks for all the hard work on this long-standing >>> project! >>> >>> Second, my problem: when reading HTML-only mails, SquirrelMail can >>> render them both as HTML and in "plaintext converted from HTML by >>> stripping tags" >> >> The plaintext version is not something SquirrelMail creates by >> sanitizing >> the HTML part of an email. It is used to display the text/plain >> content >> part of messages that have such a part. The reason your example >> message >> doesn't have that link is because there is no plaintext part in that >> message. >> >> I hope that clarifies things. > > Thanks for clarification! > > That's indeed what I'm suggesting to add: a link to switch between > (potentially iframed) "real" HTML view and "sanitised" one. Do you think > someone but me would be using it? I'm not sure, but SquirrelMail does not have code that fully converts a HTML document into plain text. In many cases the HTML document can be quite complex and the resulting plaintext may be somewhat unreliable. To be clear, the default is for SM to never show tracking pixels or other unsafe, remote-loaded components in the HTML. -- Paul Lesniewski SquirrelMail Team Please support Open Source Software by donating to SquirrelMail! http://squirrelmail.org/donate_paul_lesniewski.php |