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

Function selfClosing

static/word2md/mammoth.browser.js:3319–3322  ·  view source on GitHub ↗
(tagName, attributes)

Source from the content-addressed store, hash-verified

3317 }
3318
3319 function selfClosing(tagName, attributes) {
3320 indent();
3321 writer.selfClosing(tagName, attributes);
3322 }
3323
3324 function insideIndentedElement() {
3325 return stack.length === 0 || indentedElements[stack[stack.length - 1]];

Callers

nothing calls this directly

Calls 4

indentFunction · 0.70
generateAttributeStringFunction · 0.70
openFunction · 0.70
closeFunction · 0.70

Tested by

no test coverage detected