Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: support links with only query parameters
This commit resolves an issue where links containing only query parameters without a specified path would incorrectly direct to the root path instead of the current path, unlike standard browser behavior. Example of a link without a path: <a href="?lang=en">English</a> Previously, `click_link/2` would direct to root path. In this commit the link correctly retains the current page while applying the query parameters.
- Loading branch information