diff --git a/frontend/apps/reader/modules/readerdictionary.lua b/frontend/apps/reader/modules/readerdictionary.lua index 7cbfb32e5..29d802f28 100644 --- a/frontend/apps/reader/modules/readerdictionary.lua +++ b/frontend/apps/reader/modules/readerdictionary.lua @@ -439,6 +439,8 @@ local function tidyMarkup(results) def = def:gsub(format_escape, "%1") end end + -- convert any htmlentities (>, "...) + def = util.htmlEntitiesToUtf8(def) -- ignore all markup tags def = def:gsub("%b<>", "") -- strip all leading empty lines/spaces