Odds are this is a bug relating to converting the MobiML to xhtml. There is massaging for a number of things along these lines, but occasionally new problems pop up. Open a bug on the bug tracker with an example attached -
https://bugs.launchpad.net/calibre