Steps to reproduce
- Cut or copy text containing one or more newline characters at the end.
- Paste the text in AWB's edit box (while editing a wiki page).
Actual results
When pasting in the edit box, if the text on the clipboard ends in a newline, that character is silently omitted. If the clipboard text has multiple trailing newlines, only the last is omitted. This happens regardless of where the source text was cut or copied from (including other, non-AWB windows).
Expected results
Any trailing newline characters should be pasted as well, as was presumably the editor's intention when selecting them before cutting or copying. This is the behavior of all other applications.