On vanilla Drupal 6.19 Views' field "Draft: Body" encodes html special symbols (like "<" and ">") as html entities. This makes impossible to render body content as html or to strip html tags. I think it's a bug, not a feature.

To fix that I replaced "views_handler_field" with "views_handler_field_markup" for in $data['drafts']['body'] and added "format" option. I will attach patch in next comment. Is there better solution?

I need to strip html tags, which works only with non-encoded html special sybmbols, as expected. It seems strange that nobody need this before. Maybe, I didn't mention something?

P. S. Thank you for this module!

P. P. S. Sorry for my English.

CommentFileSizeAuthor
#1 draft-960440.patch796 bytesStilgar

Comments

Stilgar’s picture

StatusFileSize
new796 bytes
darren.ferguson’s picture

don't see any problem with the patch will add too the module

darren.ferguson’s picture

Status: Active » Fixed

Patch is now included and will be in the dev draft module as of tomorrow once the cron runs.

darren.ferguson’s picture

Status: Fixed » Closed (fixed)