I have a simple text that contains tags but when I try to render the field, the img tags disappear!
<?php print render($content['field_with_img_tags']); ?>
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.Sign up to join this community
What type of field are you using ? If it is a
body_format using a format (i.e.: Filtered HTML, Full HTML) verify the filter settings. Probably
Limit allowed HTML tags is enabled and the tag is not part of the allowed tags.
To verify / change settings, it is under
admin/config/content/formats and click on
configure link of your used format.