Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Strip characters from link text
  • Loading branch information
kthoden committed Sep 29, 2020
1 parent dbff85f commit 345440b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/imxml2epub.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
# -*- coding: utf-8; mode: python -*-
# Time-stamp: <2020-09-25 14:10:21 (kthoden)>
# Time-stamp: <2020-09-29 14:48:37 (kthoden)>

""" Convert a customized DocBook XML file into a set of files that
constitute the contents of an EPUB file.
Expand Down Expand Up @@ -1753,7 +1753,7 @@ class FootnoteError(Exception):
reference_type = xmlReference.get("type")
if reference_type == "text":
tmpTail = xmlReference.tail or ""
strResult = xmlReference.text
strResult = xmlReference.text.strip()
elif reference_type == "collage":
tmpTail = xmlReference.tail or ""
logging.debug("Found reference to a Hyperimage collage.")
Expand Down

0 comments on commit 345440b

Please sign in to comment.