diff --git a/jquery.console.js b/jquery.console.js
index 7679827..4fb5198 100644
--- a/jquery.console.js
+++ b/jquery.console.js
@@ -823,7 +823,7 @@
// Simple utility for printing messages
$.fn.filledText = function(txt){
$(this).text(txt);
- $(this).html($(this).html().replace(/\t/g, ' ').replace(/\n/g,'
'));
+ $(this).html($(this).html().replace(/\t/g, ' ').replace(/\n/g,'
').replace(/ /g, ' '));
return this;
};