diff --git a/static/panes/executor.ts b/static/panes/executor.ts index 848668613..16ca106fe 100644 --- a/static/panes/executor.ts +++ b/static/panes/executor.ts @@ -537,7 +537,8 @@ export class Executor extends Pane { ): JQuery { const outElem = $('
').appendTo(element);
         output.forEach(obj => {
-            if (obj.text === '') {
+            // Bug #8152: output lines with only null characters should be rendered as empty lines
+            if (obj.text === '' || (obj.text.includes('\x00') && obj.text.replace(/\x00/g, '') === '')) {
                 this.addCompilerOutputLine('
', outElem, undefined, undefined, false, null); } else { const lineNumber = obj.tag ? obj.tag.line : obj.line;