Automattic / Automattic/wp-post-grammar

Parse HTML attributes with "dashes"

Open
#12 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 having an error when parsing a node like this `sdfsdf` because of the `data-mce-bogus` attribute

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the parser error with the HTML example in the issue and trace the attribute-parsing entry point. The fix is done when attributes containing dashes, including data-mce-bogus, parse successfully without breaking the surrounding span and strong elements.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.