From 69be9e41fb67535813812560f5fb3751e9869ee5 Mon Sep 17 00:00:00 2001 From: Rods Date: Tue, 12 Sep 2023 15:12:46 -0300 Subject: [PATCH 1/2] Update docs.md Typo --- www/content/docs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/content/docs.md b/www/content/docs.md index 14bbb0877..1f783098f 100644 --- a/www/content/docs.md +++ b/www/content/docs.md @@ -396,7 +396,7 @@ input tag. ancestor element or itself, that matches the given CSS selector. (e.g. `closest tr` will target the closest table row to the element) * The `next ` syntax will find the next element in the DOM matching the given CSS selector. -* The `previous ` syntax will find the previous element in the DOM the given CSS selector. +* The `previous ` syntax will find the previous element in the DOM matching the given CSS selector. * `find ` which will find the first child descendant element that matches the given CSS selector. (e.g `find tr` would target the first child descendant row to the element) From 3fa884809dc3f4d138ce0f5004a1e6a3c77d604c Mon Sep 17 00:00:00 2001 From: Rods Date: Fri, 15 Sep 2023 16:02:24 -0300 Subject: [PATCH 2/2] Update hx-push-url.md Backticks --- www/content/attributes/hx-push-url.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/content/attributes/hx-push-url.md b/www/content/attributes/hx-push-url.md index 191db8e1d..390a7cae3 100644 --- a/www/content/attributes/hx-push-url.md +++ b/www/content/attributes/hx-push-url.md @@ -21,7 +21,7 @@ Here is an example: ``` -This will cause htmx to snapshot the current DOM to `localStorage` and push the URL `/account' into the browser location bar. +This will cause htmx to snapshot the current DOM to `localStorage` and push the URL `/account` into the browser location bar. Another example: @@ -31,7 +31,7 @@ Another example: ``` -This will push the URL `/account/home' into the location history. +This will push the URL `/account/home` into the location history. ## Notes