bugfix /src/extensions/table.js

table variable needs to be reset after table end to support multiple tbales.
This commit is contained in:
swisky 2013-01-17 17:15:50 +00:00
parent 2e102c72b2
commit 81bdab33d2

View File

@ -81,6 +81,8 @@
tbl.push('</table>'); tbl.push('</table>');
// we are done with this table and we move along // we are done with this table and we move along
out.push(tbl.join('\n')); out.push(tbl.join('\n'));
// and reset tbl in case their are further tables in the document.
tbl = [];
continue; continue;
} }
} }