Hi Devs,
First of all, sorry about the long email subject :)
Our style filter is working quite nicely and users so far like it very much
:). Still, word documents sometimes contain really really (I mean really)
huge images embedded in them. In such cases since our style filter rips off
height & width attributes of <img> tags, images run way off the page
boundaries (looks very ugly).
Following are the only attributes currently allowed with our style filter:
a --> href, name
img --> alt, src
td --> colspan, rowspan
I think we have to add height & width attributes into this set (under img
tag) because heights & widths are not actually styling attributes (IMO).
Note: We are discussing about cleaning OO generated html content that comes
from a word document, not about general html cleaning.
WDYT?
Thanks.
- Asiri