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 }}
Repository navigation
HTML Parser: "<" is not allowed in a text node #5550
Confirmed that this is not a bug in quoted expressions. This seems to be a bug in the new HTML parser. It seems to choke on the < operator (likely expecting a tag there). Here's a plunker showing that if you move < into a getter the conditional expression still works.
Activity
pkozlowski-opensource commentedon Dec 3, 2015
Yes, this looks like a pretty severe regression, IMO we need to fix this one before beta.
vicb commentedon Dec 3, 2015
@yjbanov could you take a look ?
yjbanov commentedon Dec 3, 2015
Yep, I'll take a look.
yjbanov commentedon Dec 6, 2015
Confirmed that this is not a bug in quoted expressions. This seems to be a bug in the new HTML parser. It seems to choke on the
<operator (likely expecting a tag there). Here's a plunker showing that if you move<into a getter the conditional expression still works.vicb commentedon Dec 6, 2015
Yep definitely a Parser issue - the error msg is clear about that:
[-]Ternary operator inside interpolation is raising an error[/-][+]HTML Parser: "<" is not allowed in a text node[/+]angular-automatic-lock-bot commentedon Sep 7, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.