Skip to content

Html Parser improvements #9340

Closed
Closed

Description

@vicb

@laco0416 is working on making the interpolation config configurable in #9158.

Once this PR lands we can work on further Lexer/Parser improvements.

We should add a new INTERPOLATION_TOKEN to the lexer output for interpolations.

Benefits:

  • Any character is allowed in an interpolation - currently < in an interpolation is considered as a tag start and we backtrack on malformed track. a <b &c> d would defeat our current strategy. (addresses in Improve lexers/parsers #9421)
  • There is currently no way to escape ICU messages (expansion forms) and interpolation. Because the lexer would be responsible for interpolation and expansion form, we can implement escaping by using %xx for those.

Activity

  1. added this to the Angular 2 Final milestone on Jun 18, 2016
  2. modified the milestones: , Angular 2 Final on Jun 28, 2016
  3. removed this from the milestone on Dec 28, 2016
  4. added this to the Backlog milestone on Jan 23, 2018
  5. ajitsinghkaler commented on Nov 24, 2019

    @ajitsinghkaler
    Contributor

    @pkozlowski-opensource @gkalpak I think you can close this issue you have solved it.

  6. angular-robot commented on May 21, 2021

    @angular-robot
    Contributor

    Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.

    Find more details about Angular's feature request process in our documentation.

  7. angular-robot commented on Jun 10, 2021

    @angular-robot
    Contributor

    Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.

    We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.

    You can find more details about the feature request process in our documentation.

  8. angular-automatic-lock-bot commented on Jul 12, 2021

    @angular-automatic-lock-bot

    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.

  9. locked and limited conversation to collaborators on Jul 12, 2021
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

    area: compilerIssues related to `ngc`, Angular's template compilercompiler: parserfeatureLabel used to distinguish feature request from other issues

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions