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

Function open

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

Source from the content-addressed store, hash-verified

3290 var writer = simpleWriter();
3291
3292 function open(tagName, attributes) {
3293 if (indentedElements[tagName]) {
3294 indent();
3295 }
3296 stack.push(tagName);
3297 writer.open(tagName, attributes);
3298 if (indentedElements[tagName]) {
3299 indentationLevel++;
3300 }
3301 start = false;
3302 }
3303
3304 function close(tagName) {
3305 if (indentedElements[tagName]) {

Callers 1

selfClosingFunction · 0.70

Calls 4

indentFunction · 0.70
generateAttributeStringFunction · 0.70
writeAnchorFunction · 0.70
createElementFunction · 0.50

Tested by

no test coverage detected