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

Function escapeHtmlAttribute

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

Source from the content-addressed store, hash-verified

3411}
3412
3413function escapeHtmlAttribute(value) {
3414 return value
3415 .replace(/&/g, '&')
3416 .replace(/"/g, '"')
3417 .replace(/</g, '&lt;')
3418 .replace(/>/g, '&gt;');
3419}
3420
3421},{"underscore":153,"util":157}],32:[function(require,module,exports){
3422var htmlWriter = require("./html-writer");

Callers 1

generateAttributeStringFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected