Question

I set up a CSV view with views_data_export. I'd like to export the raw body of nodes. So I want to keep both the raw markdown and the raw HTML in the CSV.

Is there a way to do this that I have overlooked? Should I add a formatter that does nothing? If so, how can I do that?

enter image description here

enter image description here


I thought I had solved it by checking "Rewrite the output of this field" and using [body-value], which is the raw value.

enter image description here

And this gives me the raw markdown but still doesn't give me the raw HTML.

Was it helpful?

Solution

Under FORMAT, click on Settings, check mark "Keep HTML Tags"

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with drupal.stackexchange
scroll top