diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-11-28 17:59:14 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-11-28 17:59:14 +0000 |
| commit | bb3d113828218fa29dae16cae6f2ff5e05e48564 (patch) | |
| tree | 3eef75e7004185852fba00f0e0366888d37609a0 /lib/docx | |
| parent | 611e0c9af7c1948ad46c5471a426ec751e73a1ea (diff) | |
Change LineBreak to Break with a break type
Diffstat (limited to 'lib/docx')
| -rw-r--r-- | lib/docx/body-reader.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/docx/body-reader.js b/lib/docx/body-reader.js index 8c403be..c4a61f0 100644 --- a/lib/docx/body-reader.js +++ b/lib/docx/body-reader.js @@ -177,7 +177,7 @@ function BodyReader(options) { if (breakType) { return emptyResultWithMessages([warning("Unsupported break type: " + breakType)]); } else { - return elementResult(new documents.LineBreak()); + return elementResult(documents.lineBreak); } }, "w:bookmarkStart": function(element){ |
