[OEM-255] fixed printing in html mode.