use pandora.UI.encode, fix span parsing for texts
This commit is contained in:
parent
41a1a1f94f
commit
dcf0893ea1
4 changed files with 7 additions and 7 deletions
|
|
@ -365,7 +365,7 @@ pandora.ui.textPDF = function(text) {
|
|||
});
|
||||
}).open();
|
||||
} else if (event == 'page') {
|
||||
pandora.UI.set('texts.' + pandora.user.ui.text.replace(/\./g, '\\.') + '.position', [data.page]);
|
||||
pandora.UI.set('texts.' + pandora.UI.encode(pandora.user.ui.text) + '.position', [data.page]);
|
||||
}
|
||||
})
|
||||
.appendTo(that);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue