tools/myna_escape_html_chars.js
function escapeHtmlChars(text) 
{
    let ast = myna.parsers.html_reserved_chars(text);
    if (!ast.children)    
        return "";
    return ast.children.map(astNodeToHtmlText).join('');
}
function escapeHtmlChars(text) 
{
    let ast = myna.parsers.html_reserved_chars(text);
    if (!ast.children)    
        return "";
    return ast.children.map(astNodeToHtmlText).join('');
}
function escapeHtmlChars ( text ) { let ast = myna . parsers . html_reserved_chars ( text ) ; if ( ! ast . children ) return "" ; return ast . children . map ( astNodeToHtmlText ) . join ( '' ) ; }
Returns a string, replacing all of the reserved characters with entities
Returns a string replacing all of the reserved characters with entities