Every time we are saving a textarea that contain nothing more than returns, one return is stripped off. This also happens when an error is thrown on submission because of a failed validation.

The problem was encountered when fixing another bug (#117748). However it not connected nor restricted to the situation described there.

When any other character is entered except for returns (even a single space), this doesn't happen.

Does someone have an idea where to look?

Comments

bradweikel’s picture

Version: 6.x-dev » 7.x-dev

Just checked this out in D7 and it is still an issue. I also checked it on a node with a plain text body, so it is save/load related, not filter related.

As for next steps: The very first thing to check is the stored value in the node_revisions table in SQL, to see whether it is being saved correctly.

bradweikel’s picture

Priority: Normal » Minor
juampynr’s picture

Pardon me, but what problem could this produce? Why would someone need a field with nothing more than a few returns?

wim leers’s picture

Issue summary: View changes
Status: Active » Closed (outdated)