Quote doublequote characters when copying records to clipboard
issue3972 review6341002
This commit is contained in:
1 parent
08eece83d6
commit
2636c2ea5b
1 file changed
+3
-1
@@ -688,7 +688,9 @@ class ViewTree(View):
|
||||
if not col.get_visible() or not col.name:
|
||||
continue
|
||||
widget = self.treeview.widgets[col.name]
|
||||
values.append('"' + str(widget.get_textual_value(record)) + '"')
|
||||
values.append('"'
|
||||
+ str(widget.get_textual_value(record)).replace('"', '""')
|
||||
+ '"')
|
||||
data.append('\t'.join(values))
|
||||
return
|
||||
|
||||
|
||||
Reference in new issue
Block a user