mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
...
This commit is contained in:
parent
36386d06cc
commit
a149790b93
@ -83,6 +83,8 @@ class Links(object):
|
||||
action = Dictionary({
|
||||
'Type':Name('Action'), 'S':Name('URI'),
|
||||
})
|
||||
# Do not try to normalize/quote/unquote this URL as if it
|
||||
# has a query part, it will get corrupted
|
||||
action['URI'] = String(url)
|
||||
annot['A'] = action
|
||||
if 'A' in annot or 'Dest' in annot:
|
||||
|
Loading…
x
Reference in New Issue
Block a user