mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Fix hyphenation words with unicode character in texboxwidget (#2356)
This commit is contained in:
@@ -138,7 +138,7 @@ end
|
||||
|
||||
-- Test whether a string could be separated by a char for multi-line rendering
|
||||
function util.isSplitable(c)
|
||||
return #c > 1 or c == " " or string.match(c, "%p") ~= nil
|
||||
return c == " " or string.match(c, "%p") ~= nil
|
||||
end
|
||||
|
||||
return util
|
||||
|
||||
Reference in New Issue
Block a user