diff options
| author | Michael Williamson <mike@zwobble.org> | 2015-05-17 16:20:43 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2015-05-17 16:20:43 +0100 |
| commit | fc5b5a22f9b9be138da18d38a67224171663c2f9 (patch) | |
| tree | 1eeba35c07a1713908f0935cdc3c8c4e903541fd /README.md | |
| parent | 969d80c62e7d5d5ed41a3dc7ec8f5f8bdec59a91 (diff) | |
Add ignoreEmptyParagraphs option
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -301,6 +301,9 @@ Converts the source document to HTML. * `convertUnderline`: by default, the underlining of any text is ignored. Set this option to [`mammoth.underline.element(name)`](#underline) to override the default behaviour. + + * `ignoreEmptyParagraphs`: by default, empty paragraphs are ignored. + Set this option to `false` to preserve empty paragraphs in the output. * Returns a promise containing a result. This result has the following properties: |
