Version: 4.0 (using KDE 3.1.9) Compiler: gcc version 3.3 20030226 (prerelease) (SuSE Linux) OS: Linux (i686) release 2.4.20-4GB Under certain circumstances empty lines are inserted into a selected block of lines, i.e. if one selects such a block, copies it to the clipboard and then pastes it then one ends up with empty lines between the lines. I'll attach two sample HTML files. 1) empty_line_inserted.html: If one selects Line 1 till Line 4 and then pastes the selection then one gets: Line 1 Line 2 Line 3 Line 4 So there is one empty line between Line 1 and Line 2 and there are two empty lines between Line 2 and Line 3. 2) no_empty_line_inserted.html: If one selects Line 1 till Line 4 and then pastes the selection then one gets: Line 1 Line 2 Line 3 Line 4 This is correct behavior. Note that the only difference between both HTML files is a) empty_line_inserted.html has an additional <br> b) empty_line_inserted.html has a few linebreaks, i.e. '\n', to improve the readability of the source code. Since in HTML all whitespace (including linebreaks) is to be ignored it's surprising that the linebreaks make a difference.
Created attachment 2143 [details] first test case which demonstrates wrong behavior
Created attachment 2144 [details] second test case which demonstrates correct behavior
confirmed in 3.5.2 and very similar to Bug 58111
Confirmed on trunk r793971. Behaviour is slightly different. empty_line_inserted.html yields: Line1 Line2 Line3 Line4
Confirmed in 4.5.4, like described in comment 4.
Thank you for the bug report. As this report hasn't seen any changes in 10 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved.
This seems to have been fixed. It's no longer reproducible with 20.12.1.