I'm the maintainer of a webmail program (http://sourceforge.net/projects/jwma/).
I'm likely going to switch to jericho from another html parsing library in the next version as it nicely solves the problem of rendering html email as plain text.
I'm wondering if it would also solve the problem of displaying html email as such, ie you have an html document (the webmail program) displaying another html document (the email) with styling that messes up appearance.
Any pointers to create an output document that retains html markup but removes styling?
mail@dmatthews.org
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm the maintainer of a webmail program (http://sourceforge.net/projects/jwma/).
I'm likely going to switch to jericho from another html parsing library in the next version as it nicely solves the problem of rendering html email as plain text.
I'm wondering if it would also solve the problem of displaying html email as such, ie you have an html document (the webmail program) displaying another html document (the email) with styling that messes up appearance.
Any pointers to create an output document that retains html markup but removes styling?
mail@dmatthews.org
I'm not actually sure what you're asking as it seems all you need to do is remove style elements and link elements referring to external style sheets.
But instead of doing that why not just display it in an iframe so it retains all of the intended styling?
Last edit: Martin Jericho 2014-06-07