Skip to content

Commit

Permalink
Fix: tables don't have to be top level. marked#55
Browse files Browse the repository at this point in the history
  • Loading branch information
yahtnif committed Mar 15, 2019
1 parent 89c02d1 commit c809a01
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/block-lexer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,6 @@ export class BlockLexer {

// table no leading pipe (gfm)
if (
top &&
this.isGfm &&
(execArr = (<GfmBlockRules>this.rules).nptable.exec(nextPart))
) {
Expand Down Expand Up @@ -570,7 +569,6 @@ export class BlockLexer {

// table (gfm)
if (
top &&
this.isGfm &&
(execArr = (<GfmBlockRules>this.rules).table.exec(nextPart))
) {
Expand Down

0 comments on commit c809a01

Please sign in to comment.