Fix for HTML Escape function