diff --git a/doorstop/core/test/test_publisher.py b/doorstop/core/test/test_publisher.py index 1fe25a15b..44e3f786f 100644 --- a/doorstop/core/test/test_publisher.py +++ b/doorstop/core/test/test_publisher.py @@ -201,7 +201,7 @@ def test_lines_markdown_item(self): def test_lines_markdown_item_heading(self): """Verify Markdown can be published from an item (heading).""" - expected = "## 1.1 Heading {: #req3 }\n\n" + expected = "## 1.1 Heading {#req3 }\n\n" # Act lines = publisher.publish_lines(self.item, '.md', linkify=True) text = ''.join(line + '\n' for line in lines) @@ -211,7 +211,7 @@ def test_lines_markdown_item_heading(self): @patch('doorstop.settings.PUBLISH_HEADING_LEVELS', False) def test_lines_markdown_item_heading_no_heading_levels(self): """Verify an item heading level can be ommitted.""" - expected = "## Heading {: #req3 }\n\n" + expected = "## Heading {#req3 }\n\n" # Act lines = publisher.publish_lines(self.item, '.md', linkify=True) text = ''.join(line + '\n' for line in lines)