diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-03-28 12:40:26 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-03-28 13:29:03 +0100 |
| commit | 281770a47141e3743099257df04c5e109f10155d (patch) | |
| tree | 7ff5a3bdbd930fe1ec1c21215cc9ae9bb4dcf96c /mammoth | |
| parent | e3250c2f7b916daf54656b0489f78e4cd1d6206c (diff) | |
Generated IDs no longer insert a hyphen after the ID prefix
Diffstat (limited to 'mammoth')
| -rw-r--r-- | mammoth/conversion.py | 2 |
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): |
