Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
There is created content type "house" which has a number of textareas.
The goal is display field with tag <br/>
when new line is met. In the field settings "Filtered text" (user selects input format) option is selected. In my site there is only one format input enabled - "Filtered text" which has option to convert new lines to <br/>
.
But the problem is that when I print field within my template as "echo $node->field_mytextarea[0]['value'];" it has no <br/>
applied.
What is the problem might be?
Thanks in advance.