From 53d4ca170dc84006695307180600230f94a69ce5 Mon Sep 17 00:00:00 2001 From: DF Date: Tue, 22 Apr 2025 15:07:06 -0400 Subject: [PATCH] Don't collapse whitespaces in results and output null in italic --- src/views/results/html.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/views/results/html.ts b/src/views/results/html.ts index 47002731..bfb1107c 100644 --- a/src/views/results/html.ts +++ b/src/views/results/html.ts @@ -521,7 +521,12 @@ export function generateScroller(basicSelect: string, isCL: boolean, withCancel? if (!isJson) { // Append a text node to the cell + newDiv.style.whiteSpace = "pre"; + newDiv.style["font-family"] = "monospace"; newDiv.appendChild(document.createTextNode(cell === undefined ? 'null' : cell)); + if(cell === undefined || cell === null) { + newDiv.style["font-style"] = "italic"; + } } newCell.column = columnName;