You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
jQuery will construct DOM nodes containing leading whitespace. Prior to this change, jqLite would
throw a nosel minErr due to the first character of the string not being '<'. This change corrects
this behaviour by trimming the element string in jqLite constructor before testing for '<'.
Closesangular#6053
HTML strings are being trim'd in many parts of the framework for this reason, I think these could all be factored out by this fix, with a fairly negligible perf cost (most likely).
In the mean time, it should be noted that this works as expected if you use jQuery rather than jqLite.
When I try to compile a template cached with
I get the error:
If I remove the script tag and create a file named template.html the same code works without any errors.
Here is a plunker with the code:
http://plnkr.co/edit/AM28MtrrzxHOmxgGhiA0
The text was updated successfully, but these errors were encountered: