mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
...
This commit is contained in:
parent
36386d06cc
commit
a149790b93
@ -83,6 +83,8 @@ class Links(object):
|
|||||||
action = Dictionary({
|
action = Dictionary({
|
||||||
'Type':Name('Action'), 'S':Name('URI'),
|
'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)
|
action['URI'] = String(url)
|
||||||
annot['A'] = action
|
annot['A'] = action
|
||||||
if 'A' in annot or 'Dest' in annot:
|
if 'A' in annot or 'Dest' in annot:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user