diff options
| author | Michael Williamson <mike@zwobble.org> | 2015-02-07 18:26:46 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2015-02-07 18:26:53 +0000 |
| commit | ee3f5fcd4ee9b655b01c5f1d248cba01f5694b62 (patch) | |
| tree | ff6e5b27484c9a66a03923e6a8793f74543c0be4 | |
| parent | 5280099cd29ac70ccd97f640133461da359daf63 (diff) | |
Add disabled test for consecutive bold runs
| -rw-r--r-- | tests/document-to-html.tests.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/document-to-html.tests.js b/tests/document-to-html.tests.js index 17fdb27..3f50cbd 100644 --- a/tests/document-to-html.tests.js +++ b/tests/document-to-html.tests.js @@ -140,6 +140,18 @@ describe('DocumentConverter', function() { }); }); + // TODO + //~ test('consecutive bold runs are wrapped in a single <strong> element', function() { + //~ var paragraph = new documents.Paragraph([ + //~ runOfText("Hello", {isBold: true}), + //~ runOfText(".", {isBold: true}) + //~ ]); + //~ var converter = new DocumentConverter(); + //~ return converter.convertToHtml(paragraph).then(function(result) { + //~ assert.equal(result.value, "<p><strong>Hello.</strong></p>"); + //~ }); + //~ }); + test('underline runs are ignored by default', function() { var run = runOfText("Hello.", {isUnderline: true}); var converter = new DocumentConverter(); |
