In the example: print

In the example: print content_format(‘field_content_something’, $node->field_content_something,…

There is no “content_format” function at api.drupal.org. Was this an example function or something from a module? In this situation wouldn’t you use check_markup?

Reply

The content of this field is kept private and will not be shown publicly.
  • You can use Markdown syntax to format and style the text.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <h3> <blockquote>
  • Lines and paragraphs break automatically.

More information about formatting options