TypeScript API / @laikacms/server/oauth2 / escapeHtml
Function: escapeHtml()
ts
function escapeHtml(text): string;Escape HTML special characters (&, <, >, ", ') so a string is safe to interpolate into HTML text content.
Parameters
| Parameter | Type |
|---|---|
text | string |
Returns
string