I have created a view and I want the body field to be a pure html code but it shows only text

THe code if I check the source of a view is like this

<td class=""><div><p>Paua Or shall &amp; Blue  Silver Ring<br />
	Size: 6/8 Inch x 2 5/8 Inch</p>
</div></td>

And if I paste the whole table into excel, I get a row for each break, I dont get only one row, but 2 or three because of the strange code

SO I would rather just have a pure html code of what is in body field so I can paste it into excel

Comments

damienmckenna’s picture

Category: Feature request » Support request
Priority: Critical » Normal
renatog’s picture

Hi @thaistore, how are you?

This issue is old but can help many people.

Today is possible use the Views data export and Views Excel Export for it.

Thanks.

renatog’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

hockey2112’s picture

#2 is correct. Here are the steps:

  1. Install the Views Data Export module.
  2. Add the "Data Export" display to your view.
  3. Click on Format: CSV File: Settings.
  4. In the Settings window, check the box next to "Keep HTML Tags".
  5. Save and proceed.