mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 20:35:18 +02:00
...
This commit is contained in:
parent
77d54b0581
commit
68ca4c1bc0
1 changed files with 2 additions and 0 deletions
|
|
@ -1541,6 +1541,8 @@ def to_ncx(self, parent=None):
|
|||
if title:
|
||||
title = re.sub(r'\s+', ' ', title)
|
||||
element(label, NCX('text')).text = title
|
||||
# Do not unescape this URL as ADE requires it to be escaped to
|
||||
# handle semi colons and other special characters in the file names
|
||||
element(point, NCX('content'), src=node.href)
|
||||
node.to_ncx(point)
|
||||
return parent
|
||||
|
|
|
|||
Loading…
Reference in a new issue