(element)
| 2430 | } |
| 2431 | |
| 2432 | function convertElementToRawText(element) { |
| 2433 | if (element.type === "text") { |
| 2434 | return element.value; |
| 2435 | } else { |
| 2436 | var tail = element.type === "paragraph" ? "\n\n" : ""; |
| 2437 | return (element.children || []).map(convertElementToRawText).join("") + tail; |
| 2438 | } |
| 2439 | } |
| 2440 | |
| 2441 | function embedStyleMap(input, styleMap) { |
| 2442 | return unzip.openZip(input) |
nothing calls this directly
no outgoing calls
no test coverage detected