Browse Source

Don't add tabs to tables markup

pull/14/head
Vitaly Puzrin 10 years ago
parent
commit
5412189997
  1. 10
      lib/renderer.js

10
lib/renderer.js

@ -141,19 +141,19 @@ rules.table_close = function (/*tokens, idx, options*/) {
return '</table>\n';
};
rules.thead_open = function (/*tokens, idx, options*/) {
return '\t<thead>\n';
return '<thead>\n';
};
rules.thead_close = function (/*tokens, idx, options*/) {
return '\t</thead>\n';
return '</thead>\n';
};
rules.tbody_open = function (/*tokens, idx, options*/) {
return '\t<tbody>\n';
return '<tbody>\n';
};
rules.tbody_close = function (/*tokens, idx, options*/) {
return '\t</tbody>\n';
return '</tbody>\n';
};
rules.tr_open = function (/*tokens, idx, options*/) {
return '\t\t<tr>';
return '<tr>';
};
rules.tr_close = function (/*tokens, idx, options*/) {
return '</tr>\n';

Loading…
Cancel
Save