In case PPI::HTML fails, just xml_escape the string