describe("HtmlOutput", function() {
	var TermState = Terminal.TermState;
	var HtmlOutput = Terminal.output.HtmlOutput;

	function newTerminal(w, h) {
		var t = new TermState({rows:h, columns:w}), tw = new Terminal(t);
		t.setMode("crlf", true);
		return tw;
	}

	it("basic write test", function() {
		var t = newTerminal();
		var r = new HtmlOutput(t.state);
		t.write("\x1b[31mHello\x1b[m World");

		expect(r.toString()).to.contain("<span style='color:#cc0000;'>Hello</span>&nbsp;World<br />");
	});
});

@@ -485,12 +485,12 @@
 rld%3C
-br /
+/div
 %3E%22);

fix html_output test