MCPcopy Create free account
hub / github.com/TGX-Android/Publisher / escapeHtml

Function escapeHtml

main.js:552–556  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

550 let encoding = null;
551 for (let i = 0; i < contentType.length; i++) {
552 const keyValue = contentType[i].split('=');
553 if (keyValue.length === 2 && keyValue[0].toLowerCase() === 'charset') {
554 encoding = keyValue[1].toLowerCase();
555 }
556 }
557 let data = [];
558 res.setEncoding('binary');
559 res.on('data', (chunk) => {

Callers 1

processPrivateCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected