add a getHTMLEscapedUrl Functino to file