1

When I'm displaying the contentfield of a node, Drupal only shows the safe_value. I want to use the full HTML from my WYSIWYG. I know this because, when I change $items[$id][$delta]['safe_value'] into $items[$id][$delta]['value'] (in modules/field/modules/text/text.module line 159 in the text_field_load hook implementation), it displays the correct HTML from my WYSIWYG.

How can I change this, so that Drupal shows the value with the HTML?

1 Answer 1

1

I needed to change the filter of the field. That fixed the problem.

1
  • 1
    Could you please elaborate a bit more? If you remember after more than a year, that is.
    – Mołot
    Commented Feb 12, 2014 at 7:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.