The line break convertion to

tag don't work with Maxlength and Plain text format info the long text field.

Try to replicate:
on special content type set the body format to plain text and set maxlenght to affect this field (just set the text limit don't check any thing else).
Create a new node and enter many paragraphs, the line break conversion don't work any more.

Desactive the Maxlenght module and go make a modification on the node by adding a other paragraph. What I have is : the line break created when the module was ON are not converted with the

tag so the paragraphs is not showing. The line breaks made when the module was OFF are converted into

tag.

After that go to you content type text field configuration and change the plain text to HTML. The line break will now show correctly into

tags.

How can I use plein text with Maxlenght?

Comments

cedewey’s picture

Status: Active » Closed (won't fix)

We are only maintaining the Drupal 7 version of the module for critical security fixes, so I'm marking this Closed (won't fix). Thank you for working on this issue. If you do want to maintain the Drupal 7 version, do reach out. We'd be happy to bring you on board as a maintainer.

I also encourage you, if you haven't already, to upgrade your site to Drupal 8/9. We are actively maintaining that version and you would enjoy all of the other features of the latest version of Drupal.