diff options
Diffstat (limited to 'test/document-to-html.tests.js')
| -rw-r--r-- | test/document-to-html.tests.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/document-to-html.tests.js b/test/document-to-html.tests.js index 6134dd0..d21badb 100644 --- a/test/document-to-html.tests.js +++ b/test/document-to-html.tests.js @@ -442,6 +442,14 @@ test('line break is converted to <br>', function() { }); }); +test('breaks that are not line breaks are ignored', function() { + var converter = new DocumentConverter(); + + return converter.convertToHtml(documents.pageBreak).then(function(result) { + assert.equal(result.value, ""); + }); +}); + test('footnote reference is converted to superscript intra-page link', function() { var footnoteReference = new documents.NoteReference({ noteType: "footnote", |
