zotero://open handler: Decode CFI and selector (#3955)
This commit is contained in:
parent
878fc20cec
commit
398454f85b
1 changed files with 2 additions and 2 deletions
|
@ -1205,13 +1205,13 @@ function ZoteroProtocolHandler() {
|
|||
location.position = {
|
||||
type: 'FragmentSelector',
|
||||
conformsTo: 'http://www.idpf.org/epub/linking/cfi/epub-cfi.html',
|
||||
value: cfi
|
||||
value: decodeURIComponent(cfi)
|
||||
};
|
||||
}
|
||||
else if (sel) {
|
||||
location.position = {
|
||||
type: 'CssSelector',
|
||||
value: sel
|
||||
value: decodeURIComponent(sel)
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue