On Apr 16, 2009, at 4:55 PM, Asiri Rathnayake wrote: > 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?
The only problem is that I think you have width and height always specified even they're not needed in the HTML generated by OO so this means extra cluttering for nothing in most cases. -Vincent _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

