option to externalize encodeHTMLSource function