Convert HTML Entities new

I ask for help
Why not pass the tests?

function convertHTML(str) {
  // :)

   str = str.replace(/&/g, "&")
            .replace(/</g, "&lt;")
            .replace(/>/g, "&​gt;")
            .replace(/"/g, "&​quot;")
            .replace(/'/g, "&​apos;");


  return str;

convertHTML("Dolce & Gabbana");
convertHTML("Hamburgers < Pizza < Tacos");
convertHTML("Sixty > twelve");
convertHTML('Stuff in "quotation marks"');
convertHTML("Schindler's List");

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36.

Link to the challenge:

Have you copied the html entities? If it is so you may have copied also invisible characters. Try deleting and typing them and see if it helps

Thank you so much! Your advice helped me ))