Salesforce-Inspector-reloaded icon indicating copy to clipboard operation
Salesforce-Inspector-reloaded copied to clipboard

[data-export] Can't export to Excel or csv when one of the fields containing HTML markup

Open oleg-mastriukov opened this issue 1 year ago • 0 comments

Describe the bug If you try to copy HTML from the Data Export console, the data is broken.

To Reproduce Steps to reproduce the behavior:

  1. Open the Data Export console
  2. Rin the query: select HtmlBody from emailmessage limit 1
  3. Press 'Copy (Excel format)' button
  4. open Excel and paste the result

Expected behavior The value contained in HtmlBody field is pasted

Screenshots Broken data is pasted: https://prnt.sc/X5ttKOSVuLiz

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version: 115.0.5790.171

oleg-mastriukov avatar Aug 15 '23 11:08 oleg-mastriukov