Hi,

I tried to export (csv export version) a view with some cck fields that included formatting (namely, these fields were written with fckeditor, hence with color, bold, italic, and so on, formatting options).

After that, the output file has all the fields "plain", the original one tags removed.

Is it possible to go around this problem?

Comments

tjholowaychuk’s picture

Sorry I am not sure I understand "output file has all the fields "plain", the original one tags removed." correctly, your saying that you did manage to strip the tags from the output?

alex72rm’s picture

Yes.

Yesterday, I solved partially this problem, since I found this line into export_csv.module that caused the plain text:

$cell = strip_tags($cell); 

But I noted that now *ALL* the formatting is displayed, not only html tags that I've inserted, but even the formatting tags inserted automatically to render specific content type into the table view.

<span  class="imagefield imagefield-field_immagine_articolo imagefield-formatter-url">files/immagini_articoli/img1.png</span>

or

<span class="date-display-single">2008-10-13T T+00:00</span>
tjholowaychuk’s picture

There is no good way programmatically to choose which markup should stay, and which should be removed

alex72rm’s picture

Status: Active » Closed (fixed)

Ok!