From 9ac6745ae4257c8f73c2c5682e1ce74407e1d886 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 3 Jul 2016 15:35:12 +0100 Subject: Change formatting of comments to match Word --- tests/mammoth_tests.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/mammoth_tests.py') diff --git a/tests/mammoth_tests.py b/tests/mammoth_tests.py index 8ad9b33..4390544 100644 --- a/tests/mammoth_tests.py +++ b/tests/mammoth_tests.py @@ -188,10 +188,10 @@ def relationships_are_handled_properly_in_footnotes(): def when_style_mapping_is_defined_for_comment_references_then_comments_are_included(): expected_html = ( '

Ouch' + - '[MW 1].' + - '[MW 2]

' + - '
MW 1

A tachyon walks into a bar. ↑

' + - '
MW 2

Fin. ↑

' + '[MW1].' + + '[MW2]

' + + '
Comment [MW1]

A tachyon walks into a bar. ↑

' + + '
Comment [MW2]

Fin. ↑

' ) with open(test_path("comments.docx"), "rb") as fileobj: -- cgit v1.2.3