mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Fix #9071 (Author listing does not show names with double quotes)
This commit is contained in:
commit
dba8af1f37
@ -1096,7 +1096,8 @@ class TagsModel(QAbstractItemModel): # {{{
|
|||||||
if tag in nodes_seen:
|
if tag in nodes_seen:
|
||||||
continue
|
continue
|
||||||
nodes_seen.add(tag)
|
nodes_seen.add(tag)
|
||||||
ans.append('%s%s:"=%s"'%(prefix, category, tag.name))
|
ans.append('%s%s:"=%s"'%(prefix, category,
|
||||||
|
tag.name.replace(r'"', r'\"')))
|
||||||
return ans
|
return ans
|
||||||
|
|
||||||
def find_item_node(self, key, txt, start_path):
|
def find_item_node(self, key, txt, start_path):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user