correct spec

This commit is contained in:
Sam
2017-11-13 18:09:24 +11:00
parent 8a66446849
commit 38c103c75e
2 changed files with 5 additions and 3 deletions

View File

@ -3,7 +3,7 @@ export function setup(helper) {
helper.registerPlugin(md => { helper.registerPlugin(md => {
md.renderer.rules.table_open = function(){ md.renderer.rules.table_open = function(){
return '<div class="md-table">\n<table>'; return '<div class="md-table">\n<table>\n';
}; };
md.renderer.rules.table_close = function(){ md.renderer.rules.table_close = function(){

View File

@ -812,7 +812,8 @@ QUnit.test("enable/disable features", assert => {
assert.cookedOptions('|a|\n--\n|a|', { features: {table: false} }, ''); assert.cookedOptions('|a|\n--\n|a|', { features: {table: false} }, '');
assert.cooked('|a|\n--\n|a|', assert.cooked('|a|\n--\n|a|',
`<table> `<div class="md-table">
<table>
<thead> <thead>
<tr> <tr>
<th>a</th> <th>a</th>
@ -823,7 +824,8 @@ QUnit.test("enable/disable features", assert => {
<td>a</td> <td>a</td>
</tr> </tr>
</tbody> </tbody>
</table>`); </table>
</div>`);
}); });
QUnit.test("emoji", assert => { QUnit.test("emoji", assert => {