mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
77d54b0581
commit
68ca4c1bc0
@ -1541,6 +1541,8 @@ class TOC(object):
|
||||
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…
x
Reference in New Issue
Block a user