wiki pages can have / in title

This commit is contained in:
j 2013-03-09 10:39:39 +00:00
parent 31d28e733d
commit e651aa6992

View file

@ -259,7 +259,7 @@ pandora.ui.infoView = function(data) {
.append(formatKey('wiki')) .append(formatKey('wiki'))
.append( .append(
'<a href="' + data.wiki + '">' '<a href="' + data.wiki + '">'
+ decodeURI(data.wiki.split('/').pop()) + '</a>' + decodeURI(data.wiki.split('wiki/').pop()) + '</a>'
); );
} }
$links.appendTo($text); $links.appendTo($text);