stealjs / steal-tools

Build easy. Load fast.
https://stealjs.com/docs/steal-tools.html
MIT License
67 stars 23 forks source link

Duplicate warnings when bundling invalid HTML #1030

Closed mjstahl closed 6 years ago

mjstahl commented 6 years ago

Created a not-found component (for 404) and the template was:

<h2>{{message}}</h3>

When building there was duplicate errors (below). The first one I think is the most important as it tells me the problem AND how to fix it.

components/pages/not-found/not-found.stache:1: unexpected closing tag </h3> expected </h2>
components/pages/not-found/not-found.stache: expected closing tag </h2>

NOTE: I understand why this is occurring and there is a good possibility that it would take too much time to fix to be worth it.

matthewp commented 6 years ago

Sorry I missed this one. Going to move this to can-view-parser as its the thing that is producing these errors.

matthewp commented 6 years ago

https://github.com/canjs/can-view-parser/issues/94