Skip to content

JQuery Template IDs not created properly #1

Description

@jasonkarns

The jQuery template isn't generated properly from the MovieEntryEditor. Since $, { and } are invalid characters for the ID attribute, the result html is sanitized by replacing them with underscores. This not only creates elements whose name and id attribute don't match (not really a problem), but also creates a situation where inserting instances of the template into the page violate the uniqueness of the id attribute on the page.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions