fix: #8 traverse child nodes when stripping p tags#21
Conversation
|
Hmm... it seems fixing the |
|
Ah, it looks like parse5 is stripping out the |
|
Thanks for looking into this and yeah, good catch on the |
|
My initial hunch is that maybe since the component is not wrapped up in a block level element anymore (the |
thescientist13
left a comment
There was a problem hiding this comment.
I think this looks good to me, if you feel good to undraft.
|
Sounds good, we can work through that one first 👍 |
3251a29 to
7217fb7
Compare
✅ Deploy Preview for legendary-starlight-75451b ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
7217fb7 to
75c1c3f
Compare

Summary
Fixes the bug mentioned in #8 (comment)
Context
The original implementation did not take the 11ty layout html into account, and only considered direct markdown input.
Changes