Fixed PDF report problem for images and HTML entities in production environment