Ummm, now *with* the patch… Am 07.07.18 20:57 schrieb(en) Albrecht Dreß:
Hi all, attached is a patch which fixes broken html rendering for webkit2gtk-4.0 < 2.20. I was able to reproduce the issue on Debian Jessie (webkit2gtk-4.0 2.6.2) and Stretch (webkit2gtk-4.0 2.18.6). The trick is that we must allow the rendering of “about:blank” which is simple – an empty page. It doesn't make much sense (which may be the reason that it just works with newer versions…). The patch also changes the compile-time debugging to a new GLog domain, and updates the README file to list the available log domains. Am 07.07.18 19:28 schrieb(en) Jack via balsa-list:Hmmm, this indicates that the second approach (the “if (g_ascii_strcasecmp(uri, "about:blank") != 0)…” variant) may fix your issue, /without/ removing the EFail mitigation.Yes, this does now work for me. Again, for info, what SHOULD that URI be? Should it be anything for the basic message itself, on only something for a link within the message?See above - just an empty page. I guess older webkit versions needed to open about:blank to somehow initialise the rendering or an internal state. Apparently, this doesn't make much sense, so it looks as if it has been removed. Really strange! Thanks for your help in tracking down this issue, Albrecht.
Attachment:
fix_old_webkit.diff
Description: Text Data
Attachment:
pgpoStYTtG_qK.pgp
Description: PGP signature