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
Comment #1
bradweikel commentedJust 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.
Comment #2
bradweikel commentedComment #3
juampynr commentedPardon me, but what problem could this produce? Why would someone need a field with nothing more than a few returns?
Comment #4
wim leers