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

Function generateAttributeString

static/word2md/mammoth.browser.js:3378–3382  ·  view source on GitHub ↗
(attributes)

Source from the content-addressed store, hash-verified

3376 }
3377
3378 function generateAttributeString(attributes) {
3379 return _.map(attributes, function(value, key) {
3380 return util.format(' %s="%s"', key, escapeHtmlAttribute(value));
3381 }).join("");
3382 }
3383
3384 function text(value) {
3385 fragments.push(escapeHtmlText(value));

Callers 2

openFunction · 0.70
selfClosingFunction · 0.70

Calls 1

escapeHtmlAttributeFunction · 0.70

Tested by

no test coverage detected