summaryrefslogtreecommitdiff
path: root/mammoth/conversion.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-03-28 12:40:26 +0100
committerMichael Williamson <mike@zwobble.org>2016-03-28 13:29:03 +0100
commit281770a47141e3743099257df04c5e109f10155d (patch)
tree7ff5a3bdbd930fe1ec1c21215cc9ae9bb4dcf96c /mammoth/conversion.py
parente3250c2f7b916daf54656b0489f78e4cd1d6206c (diff)
Generated IDs no longer insert a hyphen after the ID prefix
Diffstat (limited to 'mammoth/conversion.py')
-rw-r--r--mammoth/conversion.py2
1 files changed, 1 insertions, 1 deletions
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):