Skip to content

. in element tag name throws error... #248

@thomporter

Description

@thomporter

I'm working on a project built by angular-fullstack, which is using grunt-contrib-htmlmin, which in turn is using this module. I have integrated angular-paginate-anything and it works great, until I try to build my project, I get this error:

Running "ngtemplates:main" (ngtemplates) task
Warning: Parse Error: <begriffs.pagination
  ng-init="perPage=20"
  collection="logs"
  url="'/api/logs?user=-1'"
  per-page="perPage"
  per-page-presets="[10,20,50,100]"
  template-url="/assets/paginate-anything.html">
</begriffs.pagination>

The problem is with the "." in the tag name. I'm seeing other angular directives doing the same thing. Any way to make htmlmin accept this?

(I'm going to post an issue over on the paginate-anything repo as well, suggesting they change to a - instead of a .)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions