The bug for Calibre was posted a long time ago -
http://bugs.calibre-ebook.com/ticket/1366 and it is waiting for a fix in underlying pdf2html engine Calibre uses. The bug for PDF2HTML also old and sits there since 2008:
https://sourceforge.net/tracker/?fun...39&atid=444239