Skip to content

feat(@angular-devkit/schematics): support unicode character HTML element names #13837

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 8, 2019

Conversation

clydin
Copy link
Member

@clydin clydin commented Mar 6, 2019

The HTML specification allows for a wide variety of characters to be present within a custom element name. The previous behavior limited the names to mostly alphanumeric characters. This change opens up the names to include the characters specified within the specification for custom element names.

For example: app--2rootßå and app-root😀 are valid names which work (serve/test) and with AOT.

@clydin clydin requested a review from alan-agius4 March 6, 2019 18:54
@clydin clydin added the target: major This PR is targeted for the next major release label Mar 6, 2019
@clydin clydin force-pushed the fix-html-selector branch 3 times, most recently from f781926 to 1307371 Compare March 6, 2019 19:40
…ent names

The HTML specification allows for a wide variety of characters to be present within a custom element name.  The previous behavior limited the names to mostly alphanumeric characters.  This change opens up the names to include the characters specified within the specification for custom element names.
@clydin clydin force-pushed the fix-html-selector branch from 1307371 to 81e80a6 Compare March 7, 2019 00:07
@vikerman vikerman merged commit b147742 into angular:master Mar 8, 2019
@clydin clydin deleted the fix-html-selector branch March 8, 2019 00:21
@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants