Skip to content

Commit

Permalink
Fix broken docs links on quirks page (#3111)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamzap authored Jan 9, 2025
1 parent bc95b40 commit e0905ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions www/content/QUIRKS.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This is a "quirks" page, based on [SQLite's "Quirks, Caveats, and Gotchas In SQL

## Attribute Inheritance

Many attributes in htmx are [inherited](/@docs#inheritance): child elements can receive behavior from attributes located
Many attributes in htmx are [inherited](@/docs.md#inheritance): child elements can receive behavior from attributes located
on parent elements.

As an example, here are two htmx-powered buttons that inherit their [target](@/attributes/hx-target.md) from a parent
Expand All @@ -33,7 +33,7 @@ and it becomes more difficult to understand what an element is doing.
It is also possible to inadvertently change the behavior of elements by adding attributes to parents.

Some people prefer to disable inheritance in htmx entirely, using the `htmx.config.disableInheritance`
[configuration variable](/@docs.md#config).
[configuration variable](@/docs.md#config).

Here is a `meta` tag configuration that does so:

Expand All @@ -49,7 +49,7 @@ The [`hx-swap`](@/attributes/hx-swap.md) attribute allows you to control how a s
Many people prefer to use the `outerHTML` strategy as the default instead.

You can change this behavior using the `htmx.config.defaultSwapStyle`
[configuration variable](/@docs.md#config).
[configuration variable](@/docs.md#config).

Here is a `meta` tag configuration that does so:

Expand Down

0 comments on commit e0905ff

Please sign in to comment.