mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Also remove soft hyphens from lookup words in the browser viewer
This commit is contained in:
parent
6fdc287ead
commit
5320035eff
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user