From 81bdab33d2dc7942ea3a42080b88991d534c137e Mon Sep 17 00:00:00 2001 From: swisky Date: Thu, 17 Jan 2013 17:15:50 +0000 Subject: [PATCH] bugfix /src/extensions/table.js table variable needs to be reset after table end to support multiple tbales. --- src/extensions/table.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/extensions/table.js b/src/extensions/table.js index f712ac2..874a23c 100644 --- a/src/extensions/table.js +++ b/src/extensions/table.js @@ -81,6 +81,8 @@ tbl.push(''); // we are done with this table and we move along out.push(tbl.join('\n')); + // and reset tbl in case their are further tables in the document. + tbl = []; continue; } }