MCPcopy Create free account
hub / github.com/TruthHun/BookStack / escapeHtmlText

Function escapeHtmlText

static/word2md/mammoth.browser.js:3406–3411  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

3404}
3405
3406function escapeHtmlText(value) {
3407 return value
3408 .replace(/&/g, '&')
3409 .replace(/</g, '&lt;')
3410 .replace(/>/g, '&gt;');
3411}
3412
3413function escapeHtmlAttribute(value) {
3414 return value

Callers 1

textFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected