Skip to content

Commit

Permalink
Add newline to end of tables to fix parsing bug in remark
Browse files Browse the repository at this point in the history
I'll take them out eventually, re:
remarkjs/remark#123
  • Loading branch information
Evan Jacobs committed Jan 5, 2016
1 parent abae1c9 commit 02c2439
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions __tests__/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ describe('markdown-to-jsx', () => {
'foo|bar',
'---|---',
'1 |2',
'',
].join('\n')));

const elementNode = ReactDOM.findDOMNode(element);
Expand All @@ -429,6 +430,7 @@ describe('markdown-to-jsx', () => {
'foo|bar',
'--:|---',
'1 |2',
'',
].join('\n')));

const elementNode = ReactDOM.findDOMNode(element);
Expand Down

0 comments on commit 02c2439

Please sign in to comment.