storeText is removing double lines in the output

How do I prevent storeText from removing double line spaces, currently it is removing double spaces so in effect there’s no single line space between paragraphs like it should with the original content. Please help, thank you in advance!

1 Like

Here’s an example:

Original content:

Developing writers can often benefit from examining an essay, a paragraph, or even a sentence to determine what makes it effective. On the following pages are several paragraphs for you to evaluate on your own, along with the Writing Center's explanation.

Note: These passages are excerpted from actual student papers and retain the original wording. Some of the sentences are imperfect, but we have chosen these passages to highlight areas in which the author was successful.

Thanks to the students who provided their writing for this page of our website. Do you have a discussion post, paper, or other writing assignment that you are particularly proud of? We would love to use it as a sample.

Scraped content:

Developing writers can often benefit from examining an essay, a paragraph, or even a sentence to determine what makes it effective. On the following pages are several paragraphs for you to evaluate on your own, along with the Writing Center's explanation.
Note: These passages are excerpted from actual student papers and retain the original wording. Some of the sentences are imperfect, but we have chosen these passages to highlight areas in which the author was successful.
Thanks to the students who provided their writing for this page of our website. Do you have a discussion post, paper, or other writing assignment that you are particularly proud of? We would love to use it as a sample.

The line spaces between paragraphs are removed during scraping.

UP…
I’m facing same issue.

there is no issue if the csv output only contain single row.

{
  "Name": "Scrape LineBreak Test",
  "CreationDate": "2024-5-26",
  "Commands": [
    {
      "Command": "open",
      "Target": "https://ui.vision/contact",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "times",
      "Target": "1",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "storeText",
      "Target": "id=ocrContactForm",
      "Value": "v1",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "${v1}",
      "Value": "!csvLine",
      "Description": ""
    },
    {
      "Command": "csvSave",
      "Target": "1.csv",
      "Value": "!csvLine",
      "Description": ""
    },
    {
      "Command": "end",
      "Target": "",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "localStorageExport",
      "Target": "1.csv",
      "Value": "#DeleteAfterExport",
      "Description": ""
    }
  ]
}

but when the csv output contains multiple rows, double line breaks removed.

{
  "Name": "LineBreak Scrape Test",
  "CreationDate": "2024-5-26",
  "Commands": [
    {
      "Command": "open",
      "Target": "https://ui.vision/contact",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "times",
      "Target": "2",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "storeText",
      "Target": "id=ocrContactForm",
      "Value": "v1",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "${v1}",
      "Value": "!csvLine",
      "Description": ""
    },
    {
      "Command": "csvSave",
      "Target": "2.csv",
      "Value": "!csvLine",
      "Description": ""
    },
    {
      "Command": "end",
      "Target": "",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "localStorageExport",
      "Target": "2.csv",
      "Value": "#DeleteAfterExport",
      "Description": ""
    }
  ]
}

It is removing blank lines.