Fix #9071: Author listing does not show names with double quotes (assuming I understand the report)

This commit is contained in:
Charles Haley 2011-02-20 13:20:55 +00:00
parent ad034b3cb8
commit 32cbc59ec6

View File

@ -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):