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

Function escapeMarkdown

main.js:546–550  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

544 file.pipe(req);
545 });
546}
547
548function toUtf8 (res, onDone, needBinary) {
549 const contentType = (res.headers['content-type'] || '').split(';');
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') {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected