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

Function convertParagraph

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

Source from the content-addressed store, hash-verified

211 }
212
213 function convertParagraph(element, messages, options) {
214 return htmlPathForParagraph(element, messages).wrap(function() {
215 var content = convertElements(element.children, messages, options);
216 if (ignoreEmptyParagraphs) {
217 return content;
218 } else {
219 return [Html.forceWrite].concat(content);
220 }
221 });
222 }
223
224 function htmlPathForParagraph(element, messages) {
225 var style = findStyle(element);

Callers

nothing calls this directly

Calls 2

htmlPathForParagraphFunction · 0.70
convertElementsFunction · 0.70

Tested by

no test coverage detected