From 281770a47141e3743099257df04c5e109f10155d Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Mon, 28 Mar 2016 12:40:26 +0100 Subject: Generated IDs no longer insert a hyphen after the ID prefix --- mammoth/conversion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mammoth') diff --git a/mammoth/conversion.py b/mammoth/conversion.py index 8a5766c..8fe6e4e 100644 --- a/mammoth/conversion.py +++ b/mammoth/conversion.py @@ -235,7 +235,7 @@ class _DocumentConverter(documents.ElementVisitor): return self._html_id("{0}-ref-{1}".format(note.note_type, note.note_id)) def _html_id(self, suffix): - return "{0}-{1}".format(self._id_prefix, suffix) + return "{0}{1}".format(self._id_prefix, suffix) def _document_matcher_matches(matcher, element, element_type): -- cgit v1.2.3