HTMX attributes are stripped from HTML nodes #5956
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
I'm trying to use HTMX with mermaid charts. A naive usage would be to use the HTMX attributes in the nodes directly.
Sadly, the hx-get attributes (and others custom HTMX attributes) are somehow stripped and not present in the resulting
foreignObject
I have set the security level to
loose
Steps to reproduce
Fiddle with minimal example: https://jsfiddle.net/ejw1978d/1/
Screenshots
No response
Code Sample
Setup
Suggested Solutions
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: