function convertToHtmlTag(string) {
  const tagsToReplace = {
    "&lt;": "&amp;lt;",
    "&gt;": "&amp;gt;",
  };
  let unEscapedString = string;
  Object.keys(tagsToReplace).forEach(function (key) {
    unEscapedString = unEscapedString.replace(new RegExp(tagsToReplace[key], 'g'), key)
  });
  return unEscapedString
}
convert all `<` and `>` to `&lt;` and `&gt;`
@param string
@returns {*}