mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Fix the function cleanUpTocTitle() to return a single string, so that
it can be passed as a second argument to table.insert().
This commit is contained in:
@@ -1591,7 +1591,8 @@ function UniReader:screenRotate(orien)
|
||||
end
|
||||
|
||||
function UniReader:cleanUpTocTitle(title)
|
||||
return title:gsub("\13", "")
|
||||
local s, _ = title:gsub("\13", "")
|
||||
return s
|
||||
end
|
||||
|
||||
function UniReader:fillToc()
|
||||
|
||||
Reference in New Issue
Block a user