Skip to content

id's with dots don't work #152

@vinculin

Description

@vinculin

this line is used to look for templates:
var template = htmx.find('#' + templateName)

It probably uses querySelector which requires the dots to be escaped. Its probably best to just use this:
var template = document.getElementById(templateName)

cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions