posthtml-parser icon indicating copy to clipboard operation
posthtml-parser copied to clipboard

feat: add a `parent` property to AST nodes

Open RomFouq opened this issue 3 years ago • 2 comments

  • Change the way HTML text nodes are stored: use objects instead of strings since strings cannot accept new properties
  • Populate the parent property when generating the AST

Partially addresses #81.

RomFouq avatar Aug 28 '21 12:08 RomFouq

@Scrum this would be helpful, no?

cossssmin avatar Jan 14 '24 17:01 cossssmin

@Scrum this would be helpful, no?

Not obvious potential that can complicate the system

Scrum avatar Jan 15 '24 06:01 Scrum