mirror of
https://github.com/koreader/koreader
synced 2024-11-10 01:10:34 +00:00
OPDS: fix entry titles on ManyBooks
This commit is contained in:
parent
cc230f0300
commit
63e0605080
@ -421,8 +421,8 @@ function OPDSBrowser:genItemTableFromCatalog(catalog, item_url)
|
|||||||
if type(entry.title) == "string" then
|
if type(entry.title) == "string" then
|
||||||
title = entry.title
|
title = entry.title
|
||||||
elseif type(entry.title) == "table" then
|
elseif type(entry.title) == "table" then
|
||||||
if entry.title.type == "text/xhtml" then
|
if type(entry.title.type) == "string" and entry.title.div ~= "" then
|
||||||
title = entry.title.div or title
|
title = entry.title.div
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if title == "Unknown" then
|
if title == "Unknown" then
|
||||||
|
Loading…
Reference in New Issue
Block a user