I am trying to include a DIV with a specific class depending upon the output from my computed field. It seems to strip the HTML out, though. Is there any way to override this behavior? I just need to include a bit of HTML in my output.

Or is there a better way to go about doing that?

Comments

matt_c’s picture

Issue summary: View changes

Go to Structure => Content Types (your type with the computed field) => 'Manage Display'.

Make sure the display formatter is set to something other than 'plain text'. i.e. 'unsanitized' or 'filtered markup' generally works well for me.

dqd’s picture

Status: Active » Closed (outdated)

Due to the Drupal core life cycle policy and security support advisery, Drupal 6 is no longer supported. So issues for Drupal 6 cannot be longer maintained. The project maintainer has asked for closing all D6 issues to clean up the issue queue. Feel free to reopen the issue if required or set it to "needs to be ported" and latest D8 dev version, if the issue discusses a still missing feature which can be implemented in the D8 version.