Automattic / Automattic/wp-post-grammar

Parsing of empty blocks is incorrect

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
27
Forks
3
PR merge metrics
No merged PRs in 30d

Description

I'm trying to parse an empty block, something like ``. The result I get is the following

screen shot 2017-02-25 at 16 02 10

I was expecting to get only one block of type `paragraph`

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the reported empty-block input `` and compare the parser result with the expected single paragraph block. Trace how the grammar handles an empty block and verify that the corrected result contains only that paragraph block.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.