Problem with the link in a related list

Problem with the link in a related list

Hello 

I create a related list in CRM. The row should contain a link to another webresource. I add a row using the default FL tag:
  1. response = response + "<FL val='Folder name' link='true' url='" + link + "'>" + folder_name + "</FL>";
Everything works fine as long as there is no more than one parameter in the link. For example:
But if there are more than one parameter and there is a separator & in the link, I get an error:
  1. link = "https://www.example.com/test?firstpar=111&secondpar=222";


Could anyone help, what is wrong here?