mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 630693 - Web console's copying adds extra newline between groups.; f=rcampbell r=beltzner approval2.0=beltzner
This commit is contained in:
parent
e25792ca13
commit
81905e1dc8
@ -2901,7 +2901,7 @@ HUD_SERVICE.prototype =
|
||||
for (let i = 0; i < aOutputNode.selectedCount; i++) {
|
||||
let item = aOutputNode.selectedItems[i];
|
||||
|
||||
// Add newlines between groups so that group boundaries show up in the
|
||||
// Add dashes between groups so that group boundaries show up in the
|
||||
// copied output.
|
||||
if (i > 0 && item.classList.contains("webconsole-new-group")) {
|
||||
newGroup = true;
|
||||
@ -2912,7 +2912,7 @@ HUD_SERVICE.prototype =
|
||||
!item.classList.contains("hud-filtered-by-string")) {
|
||||
let timestampString = ConsoleUtils.timestampString(item.timestamp);
|
||||
if (newGroup) {
|
||||
strings.push("\n");
|
||||
strings.push("--");
|
||||
newGroup = false;
|
||||
}
|
||||
strings.push("[" + timestampString + "] " + item.clipboardText);
|
||||
|
Loading…
Reference in New Issue
Block a user