From c098d25076380da5adbcfa7a4e1378e4fdf347d4 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Wed, 11 Jun 2014 09:42:57 +0100 Subject: Wrap footnote references in square brackets --- tests/mammoth.tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/mammoth.tests.js') diff --git a/tests/mammoth.tests.js b/tests/mammoth.tests.js index 4983849..30fba34 100644 --- a/tests/mammoth.tests.js +++ b/tests/mammoth.tests.js @@ -94,7 +94,7 @@ describe('mammoth', function() { // TODO: don't duplicate footnotes with multiple references var docxPath = path.join(__dirname, "test-data/footnotes.docx"); return mammoth.convertToHtml({path: docxPath}).then(function(result) { - var expectedOutput = '

Ouch1.2

' + + var expectedOutput = '

Ouch[1].[2]

' + '
  1. A tachyon walks into a bar.

  2. ' + '
  3. Fin.

' assert.equal(result.value, expectedOutput); -- cgit v1.2.3