Description of the bug
When using a multiline (text area) field with plain text processing, it is expected that line breaks will apply to the rendered page, but they don't. Drupal 8/9 inserts <br />
tags.
Steps To Reproduce
- Add a field with a "Text (long)" field type and "Text area (multiple rows)" widget.
- Set the Text processing to "Plain text"
- Create content using the new field with multiple lines of text.
Actual behavior
The field is rendered without line breaks.
Expected behavior
The line breaks should be applied to the rendered page.
Additional information
Add any other information that could help, such as: - Backdrop CMS version: 1.21.2
GitHub Issue #:
5515
Recent comments
Thanks! The site was on PHP 7.0. With assistance from my hosting provider, I updated to PHP 7.4 and now I have access to the site again. No database re-import required.
Locked out of site after updating modules
Thank you very much. I will follow your advice.
Locked out of site after updating modules
The best you can do is test and report. If you find a contrib that doesn't work in php 8.3, create an issue in its queue so it gets fixed. In my experience, I've found that 7.4 is safest...
Locked out of site after updating modules