Skip to content

Commit

Permalink
Fix typo in open/close block tags
Browse files Browse the repository at this point in the history
  • Loading branch information
dmsnell committed Apr 19, 2017
1 parent 84305a8 commit cdfd596
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions explorer/post-parser.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/post.pegjs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
case 'HTML_Void_Tag': return [ [ 'Tag', token.name ], token.attrs ];
case 'Text': return token.value;
case 'WP_Block': return [ [ 'Block', token.blockType ], token.attrs, children ];
case 'WP_Block_Open': return [ [ '+Block', token.blockType ], token.attrs ];
case 'WP_Block_Close': return [ [ '-Block' ] ];
case 'WP_Block_Start': return [ [ '+Block', token.blockType ], token.attrs ];
case 'WP_Block_End': return [ [ '-Block' ] ];
default: return token;
}
}
Expand Down

0 comments on commit cdfd596

Please sign in to comment.