fix protected value in url

This commit is contained in:
antelle 2016-09-18 21:18:14 +03:00
parent 656b1e38da
commit 98fe206a8f
1 changed files with 3 additions and 0 deletions

View File

@ -130,6 +130,9 @@ var EntryModel = Backbone.Model.extend({
if (!url) {
return '';
}
if (url.isProtected) {
url = url.getText();
}
return url.replace(this.urlRegex, '');
},