mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #9071: Author listing does not show names with double quotes (assuming I understand the report)
This commit is contained in:
parent
ad034b3cb8
commit
32cbc59ec6
@ -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