Automattic / Automattic/wp-post-grammar

When a block has a numeric attribute, the parsing is incorrect

Open
#9 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

For example `1.0 Is The Loneliest Number` is parsed as an HTML comment and not a WP Block

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the parser behavior in the wp-post-grammar repository using the reported WordPress block with the numeric size attribute. Trace how the grammar distinguishes HTML comments from WP Blocks, then verify that this example is recognized as a WP Block rather than an HTML comment.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.