MCPcopy Create free account
hub / github.com/ICBNetwork/web3-Wallet / evadeHtmlCommentTest

Function evadeHtmlCommentTest

ses.cjs:5793–5796  ·  view source on GitHub ↗
(src)

Source from the content-addressed store, hash-verified

5791 * @returns {string}
5792 */$h‍_once.rejectHtmlComments(rejectHtmlComments);
5793const evadeHtmlCommentTest= (src)=>{
5794 const replaceFn= (match)=> match[0]=== '<'? '< ! --': '-- >';
5795 return stringReplace(src, htmlCommentPattern, replaceFn);
5796 };
5797
5798// /////////////////////////////////////////////////////////////////////////////
5799$h‍_once.evadeHtmlCommentTest(evadeHtmlCommentTest);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected