mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-29 03:44:57 +02:00
...
This commit is contained in:
parent
cb5b06c556
commit
9d060c96ea
1 changed files with 1 additions and 1 deletions
|
|
@ -760,7 +760,7 @@ def rendered_template(self):
|
|||
else:
|
||||
target = target.split('#', 1)[0]
|
||||
target = self.container.href_to_name(target)
|
||||
ans = ans.replace('_SOURCE_FILENAME_', self.source_name)
|
||||
ans = ans.replace('_SOURCE_FILENAME_', self.source_name or '')
|
||||
ans = ans.replace('_DEST_FILENAME_', target or '')
|
||||
ans = ans.replace('_ANCHOR_', frag or '')
|
||||
return ans
|
||||
|
|
|
|||
Loading…
Reference in a new issue