Quality Check should flag scenario 1 ('margin' in a body class) based on a code review, there is also logic where Quality Check will multiply the value of the margin style and multiply it by 4 - if the multiplied value is less than the total of the configured Calibre margins then it won't be flagged - I suppose I could make the logic here a bit more precise if Calibre's four configured margins aren't equal.... If you can confirm it doesn't work on an ePub PM me an example.
I'll need to look into scenario two - Modify ePub should absolutely work if there are more than one style settings with a semi-colon between them - two style settings without a semi-colon wouldn't be valid css. Quality Check and Modify ePub use the same logic to break the styles into pieces, so it would be odd if one worked and the other didn't...
I haven't tested the example with just a single style with no semi-colon though, it's possible Python isn't handling that string the way I intended, I'll check that case.
|