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

Function htmlPathForParagraph

static/word2md/mammoth.browser.js:224–235  ·  view source on GitHub ↗
(element, messages)

Source from the content-addressed store, hash-verified

222 }
223
224 function htmlPathForParagraph(element, messages) {
225 var style = findStyle(element);
226
227 if (style) {
228 return style.to;
229 } else {
230 if (element.styleId) {
231 messages.push(unrecognisedStyleWarning("paragraph", element));
232 }
233 return defaultParagraphStyle;
234 }
235 }
236
237 function convertRun(run, messages, options) {
238 var nodes = function() {

Callers 1

convertParagraphFunction · 0.70

Calls 2

findStyleFunction · 0.70
unrecognisedStyleWarningFunction · 0.70

Tested by

no test coverage detected