This project has moved. For the latest updates, please go here.

Anyway to avoid conversion errors?

Apr 26 at 6:43 PM
I'm trying to convert slabs of HTML some of which have originated in word and were copied into a large CMS. With really simple clean html html2openxml works fine, but as soon as I try some of these more complex examples I get exceptions thrown. At first it didn't like a style tag with "margin: 0 0 0 .00001pt" and failed with int32 conversion failure. I've fixed that but now it's falling over on a styletag containing " border: currentColor;" saying it's not a valid integer value. I'm not fussed if I loose some of the formatting for these tags (because they shouldn't be there anyway), but currently the parser just crashes out - correcting all the HTML isn't feasible either.. Is there anyway, I can tell html2openxml to ignore conversion exceptions of style tags?