mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-28 05:21:18 +00:00

* Allow CSS selectors with whitespace in `hx-trigger` Parsing of `hx-trigger` scans for whitespace, so if a CSS selector is used that contains whitespace, e.g. `form input`, a syntax error is raised. A workaround is implemented by allowing such a CSS selector to be wrapped in either curly braces or parentheses. * Add explanation whitespace in CSS selector to docs * Tests for CSS selectors containing whitespace * Use faster RegEx test, remove redundant variable declarations * Added Descendant Combinator support to `root` and `target` modifiers * Add missing semicolon * Tests for descendant combinators in `root` and `target` modifiers * Improve descendant combinator test coverage
Running The Website Locally
The htmx.org website is built with Zola. To run the site, install Zola; then, from the root of the repository:
cd www
zola serve
The site should then be available at http://localhost:1111