add table container .md-table

This commit is contained in:
life
2017-02-09 19:49:47 +08:00
parent 180bc174b1
commit 1fa04c6a48
2 changed files with 4 additions and 4 deletions

View File

@@ -14267,7 +14267,7 @@ define("libs/Markdown.Converter", function(){});
// build html
var cls = self.tableClass ? ' class="' + self.tableClass + '"' : '';
var html = ['<table', cls, '>\n', '<thead>\n', '<tr>\n'].join('');
var html = ['<div class="md-table"><table', cls, '>\n', '<thead>\n', '<tr>\n'].join('');
// build column headers.
for (i = 0; i < colCount; i++) {
@@ -14296,7 +14296,7 @@ define("libs/Markdown.Converter", function(){});
html += "</tr>\n";
}
html += "</table>\n";
html += "</table></div>\n";
// replace html with placeholder until postConversion step
return self.hashExtraBlock(html);

View File

@@ -14108,7 +14108,7 @@ define("libs/Markdown.Converter", function(){});
// build html
var cls = self.tableClass ? ' class="' + self.tableClass + '"' : '';
var html = ['<table', cls, '>\n', '<thead>\n', '<tr>\n'].join('');
var html = ['<div class="md-table"><table', cls, '>\n', '<thead>\n', '<tr>\n'].join('');
// build column headers.
for (i = 0; i < colCount; i++) {
@@ -14137,7 +14137,7 @@ define("libs/Markdown.Converter", function(){});
html += "</tr>\n";
}
html += "</table>\n";
html += "</table></div>\n";
// replace html with placeholder until postConversion step
return self.hashExtraBlock(html);