Function: applyHeadContextToHtmlString()
Function: applyHeadContextToHtmlString()
function applyHeadContextToHtmlString(context, html): string;
Escape HTML special characters in a string.
Parameters
context
HeadContext
The head context containing meta, link, script, and style descriptors.
html
string
The HTML string to escape.
Returns
string
The escaped string.