[go: nahoru, domu]

Skip to content

Match all content apart certain tags #388

Answered by cossssmin
thewebartisan7 asked this question in Q&A
Discussion options

You must be logged in to vote

Yeah, :not isn't supported as a matcher in PostHTML or posthtml-match-helper. Would be a nice thing to have in the latter so you could do something like tree.match(matchHelper(':not(div)'), node => { ... })

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by thewebartisan7
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants