fix(mailcard): Remove leading HTML comments before PDF conversion (refs #4428)