Fix #1658 (Not able to view some PDF files)

This commit is contained in:
Kovid Goyal 2009-01-21 13:20:02 -08:00
parent f35e9376e1
commit 8af820ef49

View File

@ -40,7 +40,7 @@ function create_table_headers() {
function format_url(format, id, title) {
return 'get/'+format.toLowerCase() + '/'+title + '_' + id+'.'+format.toLowerCase();
return 'get/'+format.toLowerCase() + '/'+title.replace('#', '') + '_' + id+'.'+format.toLowerCase();
}
function render_book(book) {