mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-01 23:11:12 +00:00
14 lines
415 B
Markdown
14 lines
415 B
Markdown
+++
|
|
title = "hx-disable"
|
|
+++
|
|
|
|
The `hx-disable` attribute will disable htmx processing for a given element and all its children. This can be
|
|
useful as a backup for HTML escaping, when you include user generated content in your site, and you want to
|
|
prevent malicious scripting attacks.
|
|
|
|
The value of the tag is ignored, and it cannot be reversed by any content beneath it.
|
|
|
|
## Notes
|
|
|
|
* `hx-disable` is inherited
|