replace the curlys with html special chars