From 5fefadb345f46e4724e9f17c256692c1e3fde000 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Tue, 2 Dec 2008 17:54:12 -0500 Subject: [PATCH] Make commandline.echo white-space: nowrap by default. --- liberator/content/io.js | 1 + liberator/content/ui.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/liberator/content/io.js b/liberator/content/io.js index 9ff46105..25a67916 100644 --- a/liberator/content/io.js +++ b/liberator/content/io.js @@ -367,6 +367,7 @@ function IO() //{{{ let output = io.system(args); let command = ":" + util.escapeHTML(commandline.getCommand()) + "
"; + liberator.echo(template.generic({output})) liberator.echo(command + util.escapeHTML(output)); autocommands.trigger("ShellCmdPost", {}); diff --git a/liberator/content/ui.js b/liberator/content/ui.js index 1f23a21d..81d62148 100644 --- a/liberator/content/ui.js +++ b/liberator/content/ui.js @@ -376,7 +376,7 @@ function CommandLine() //{{{ * after interpolated data. */ XML.ignoreWhitespace = typeof str != "xml"; - let output = util.xmlToDom(
{template.maybeXML(str)}
, doc); + let output = util.xmlToDom(
{template.maybeXML(str)}
, doc); XML.ignoreWhitespace = true; lastMowOutput = output;