diff --git a/pandoc_tex_numbering.py b/pandoc_tex_numbering.py index 35e2656..d1e941b 100644 --- a/pandoc_tex_numbering.py +++ b/pandoc_tex_numbering.py @@ -399,7 +399,7 @@ def add_label_to_caption(num_obj, label: str, elem): has_caption = False if has_caption: # If there's no caption text, we shouldnot add a colon - label_items.extend([Str(":"), Space()]) + label_items.extend([Space(), ]) for item in label_items[::-1]: elem.caption.content[0].content.insert(0, item)