mirror of
https://github.com/discourse/discourse.git
synced 2025-03-31 07:05:52 +08:00
correct spec
This commit is contained in:
parent
8a66446849
commit
38c103c75e
@ -3,7 +3,7 @@ export function setup(helper) {
|
||||
helper.registerPlugin(md => {
|
||||
|
||||
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(){
|
||||
|
@ -812,7 +812,8 @@ QUnit.test("enable/disable features", assert => {
|
||||
|
||||
assert.cookedOptions('|a|\n--\n|a|', { features: {table: false} }, '');
|
||||
assert.cooked('|a|\n--\n|a|',
|
||||
`<table>
|
||||
`<div class="md-table">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>a</th>
|
||||
@ -823,7 +824,8 @@ QUnit.test("enable/disable features", assert => {
|
||||
<td>a</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>`);
|
||||
</table>
|
||||
</div>`);
|
||||
});
|
||||
|
||||
QUnit.test("emoji", assert => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user