Skip to content

Allow custom attribute names #444

@BadMannersXYZ

Description

@BadMannersXYZ

Trying to set an attribute name dynamically (eg. button (htmx_method)=(htmx_path)) returns the error:

element body must be wrapped in braces

  = help: see https://github.com/lambda-fairy/maud/pull/137 for details

For custom libraries like HTMX, having the ability to set attributes dynamically would be very useful for type safety.

Metadata

Metadata

Assignees

No one assigned

    Labels

    context aware escapingThis feature depends on Maud treating certain elements and attributes in a special way

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions