use pandora.UI.encode, fix span parsing for texts

This commit is contained in:
j 2013-09-08 17:31:15 +00:00
commit dcf0893ea1
4 changed files with 7 additions and 7 deletions

View file

@ -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);