summaryrefslogtreecommitdiff
path: root/js/matrix.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/matrix.js')
-rw-r--r--js/matrix.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/matrix.js b/js/matrix.js
index 7549113..1a39742 100644
--- a/js/matrix.js
+++ b/js/matrix.js
@@ -88,7 +88,7 @@ Matrix.prototype.ascii = function () {
var last, line = ""
row.forEach(function(lex, x) {
if (lex.eq(last)) {
- line += lex.char
+ line += lex.sanitize()
}
else {
if (x > 0 && last && (last.bg != 1 || last.fg != 0)) line += "\\x03"