Can't login to DirectAdmin

Do you expect the built-in editor to add an end-of-line character even when you don't type one? I don't think any editor does that.

Jeff
 
I expect to keep the end-of-line character that is already there.
But the editor removes this character even if you add a line at the top of the file.
 
I expect to keep the end-of-line character that is already there.
But the editor removes this character even if you add a line at the top of the file.
Thanks, found the issue. Old code was:
Code:
<textarea>|TEXT|</textarea>
but should have been:
Code:
<textarea>
|TEXT|</textarea>
I would have assumed the first method would have been correct, but the first newline after the first <textarea> will be ignored by the browsers, assuming there is no text on that line.
It doesn't make much sense to me, but that appears to be the way it works.
Fixed for the next release.

John
 
Back
Top