Convert HTML Entities,html to string table

can someone share the table of html to strings mappings

Hi, I am not sure I understand your needs. Would you be able please to add more details about the problem?

yes,this problem.

const htmlEntities = {
    "&": "&",
    "<": "&lt;",
    ">": "&gt;",
    '"': "&quot;",
    "'": "&apos;"
  };

From the problem hint…

Click Get help then click Get a hint.

1 Like