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}
551
552function escapeHtml (text) {
553 if (!text)
554 return text;
555 return text.replace(/</g, '&lt;').replace(/>/g, '&gt;');
556}
557
558function trimIndent (text) {
559 if (!text)

Callers 1

processPrivateCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected