mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -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:
|
||||
continue
|
||||
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
|
||||
|
||||
def find_item_node(self, key, txt, start_path):
|
||||
|
Loading…
x
Reference in New Issue
Block a user