mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-06 05:35:22 +01:00
Fix #1280606 [Similar Books doesn't escape double quotes in search string](https://bugs.launchpad.net/calibre/+bug/1280606)
This commit is contained in:
parent
b143f637e3
commit
8514166b55
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ def show_similar_books(self, typ, *args):
|
|||
|
||||
if not isinstance(val, (list, set)):
|
||||
val = [val]
|
||||
search = [col + ':"='+t+'"' for t in val]
|
||||
search = [col + ':"='+t.replace('"', '\\"')+'"' for t in val]
|
||||
if search:
|
||||
self.gui.search.set_search_string(join.join(search),
|
||||
store_in_history=True)
|
||||
|
|
|
|||
Loading…
Reference in a new issue