diff --git a/base b/base index 66f8b4ae3..bcf5ab2ff 160000 --- a/base +++ b/base @@ -1 +1 @@ -Subproject commit 66f8b4ae3e110da48ad2978cfc362c695eb8717d +Subproject commit bcf5ab2fff5c3b2968e0903986aba15d7cbceece diff --git a/frontend/apps/reader/modules/readerdictionary.lua b/frontend/apps/reader/modules/readerdictionary.lua index a092be6eb..4902dc368 100644 --- a/frontend/apps/reader/modules/readerdictionary.lua +++ b/frontend/apps/reader/modules/readerdictionary.lua @@ -134,7 +134,7 @@ function ReaderDictionary:init() if f then local content = f:read("*all") f:close() - local dictname = content:match("\nbookname=(.-)\n") + local dictname = content:match("\nbookname=(.-)\r?\n") local is_html = content:find("sametypesequence=h", 1, true) ~= nil -- sdcv won't use dict that don't have a bookname= if dictname then