There is a 'TODO' note in the CsvEncoder about making the HTML-stripping and trimming behaviour configurable. Well, here's a patch that provides that, including taking them from views where available, just like as with the delimiter etc that get passed through via setSettings()....

Members fund testing for the Drupal project. Drupal Association Learn more


james.williams created an issue. See original summary.

james.williams’s picture

Status: Active » Needs review
2.2 KB

Patch :-)

james.williams’s picture

Sorry, that was missing the use of the trim setting - here's the fixed patch & interdiff.

Grimreaper’s picture

Status: Needs review » Reviewed & tested by the community


Thanks for the patch. It works and It also solved the bug from #2836527: body with html markup

grasmash credited grasmash.

grasmash’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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