bigskysoftware / bigskysoftware/htmx
Using css :not() inside hx-trigger target: selector with parentheses is a syntax error.
Open
- Dominant language
- JavaScript
- Stars
- 49.4k
- Forks
- 1.7k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 30
Description
Using a css `:not()` selector inside of an `hx-trigger="click target:( ... )"` should be valid. The following example causes a generic `htmx:syntax:error` with no explanation:
`hx-trigger="click target:(td:not(.no-click) *)"`
Using `{}` has the same error. My guess is incorrect parentheses parsing.
Contributor guide
Assessment
This issue has not been assessed yet.