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

Function findHtmlPath

static/word2md/mammoth.browser.js:290–293  ·  view source on GitHub ↗
(element, defaultPath)

Source from the content-addressed store, hash-verified

288 }
289
290 function findHtmlPath(element, defaultPath) {
291 var style = findStyle(element);
292 return style ? style.to : defaultPath;
293 }
294
295 function findStyle(element) {
296 for (var i = 0; i < styleMap.length; i++) {

Callers 3

convertTableFunction · 0.70
convertCommentReferenceFunction · 0.70

Calls 1

findStyleFunction · 0.70

Tested by

no test coverage detected