From 5320035effb2ce33145a834c4931d961bcfdc4a3 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 1 Apr 2018 09:59:16 +0530 Subject: [PATCH] Also remove soft hyphens from lookup words in the browser viewer --- src/pyj/read_book/word_actions.pyj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pyj/read_book/word_actions.pyj b/src/pyj/read_book/word_actions.pyj index 9c24abbe17..39b3d48535 100644 --- a/src/pyj/read_book/word_actions.pyj +++ b/src/pyj/read_book/word_actions.pyj @@ -132,6 +132,7 @@ def populate_list(container): def create_word_actions_panel(container, word, close_panel_func): nonlocal current_data + word = str.replace(word, '\u00ad', '') current_data = word, close_panel_func container.appendChild(E.div(style='display:none')) populate_list(container)