Fix #9071 (Author listing does not show names with double quotes)

This commit is contained in:
Kovid Goyal 2011-02-20 10:28:53 -07:00
commit dba8af1f37

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