gajus/scalpel

Incorrectly quotes in paranthesis

Open

#13 opened on Sep 23, 2020

 (0 comments) (0 reactions) (0 assignees)JavaScript (7 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (97 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

The generator quotes content in parenthesis: Input string to AST:

body:not(.wp-admin)

Output string from AST:

body:not(".wp-admin")

Which will cause a parse error in the browser (Chrome).

Contributor guide