From 3b72b5aadf37b01dce22586ef375297df71ab0b5 Mon Sep 17 00:00:00 2001 From: Anthony Date: Mon, 1 Apr 2013 14:52:37 -0700 Subject: [PATCH] Bugfix: Clear table output buffer between tables *Details* Previously if you had 3 tables it would output like Table 1 Table 1 Table 2 Table 1 Table 2 Table 3 When we really want Table 1 Table 2 Table 3 --- src/extensions/table.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/extensions/table.js b/src/extensions/table.js index f712ac2..0d8457e 100644 --- a/src/extensions/table.js +++ b/src/extensions/table.js @@ -55,11 +55,12 @@ return out; }; filter = function(text) { - var i=0, lines = text.split('\n'), tbl = [], line, hs, rows, out = []; + var i=0, lines = text.split('\n'), line, hs, rows, out = []; for (i; i'); hs = line.substring(1, line.length -1).split('|');