René's URL Explorer Experiment


Title: feat(compiler): allow self-closing tags on custom elements by crisbeto · Pull Request #48535 · angular/angular · GitHub

Open Graph Title: feat(compiler): allow self-closing tags on custom elements by crisbeto · Pull Request #48535 · angular/angular

X Title: feat(compiler): allow self-closing tags on custom elements by crisbeto · Pull Request #48535 · angular/angular

Description: Allows for self-closing tags to be used for non-native tag names, e.g. can now be written as . Native tag names still have to have closing tags. Fixes #39525.

Open Graph Description: Allows for self-closing tags to be used for non-native tag names, e.g. <foo [input]="bar"></foo> can now be written as <foo [input]="bar"/>. Native tag names s...

X Description: Allows for self-closing tags to be used for non-native tag names, e.g. &lt;foo [input]=&quot;bar&quot;&gt;&lt;/foo&gt; can now be written as &lt;foo [input]=&quot;ba...

Opengraph URL: https://github.com/angular/angular/pull/48535

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:7dd29403-fdc9-3c5d-4cef-c5a2517a6de5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEBB6:269AD9:81D814:AFCE11:6B00E101
html-safe-nonce55638447c53d1719f8a19960fa699cf129e2ba5359418249e5e7baa905dbf0c4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkI2OjI2OUFEOTo4MUQ4MTQ6QUZDRTExOjZCMDBFMTAxIiwidmlzaXRvcl9pZCI6IjM4NTczMzk4NDI5MTY1NzM0NDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac61bff4fdaae956228cb55bbc42065d1be5ef09b323c369e5e14c43399a21b189
hovercard-subject-tagpull_request:1170769225
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/angular/angular/pull/48535/files
twitter:imagehttps://avatars.githubusercontent.com/u/4450522?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/4450522?s=400&v=4
og:image:altAllows for self-closing tags to be used for non-native tag names, e.g. <foo [input]="bar"></foo> can now be written as <foo [input]="bar"/>. Native tag names s...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None043c3f30fbcbe2c6c8e729e10cbbbc90c406546f9fbbb67c648d38f6b7d16daf
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/angular/angular git https://github.com/angular/angular.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id24195339
octolytics-dimension-repository_nwoangular/angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24195339
octolytics-dimension-repository_network_root_nwoangular/angular
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5425dc24e8bd8d6fca9641a12afc984825a43875
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/angular/angular/pull/48535/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fpull%2F48535%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fpull%2F48535%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=angular%2Fangular
Reloadhttps://github.com/angular/angular/pull/48535/files
Reloadhttps://github.com/angular/angular/pull/48535/files
Reloadhttps://github.com/angular/angular/pull/48535/files
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues835 (835)https://github.com/angular/angular/issues
Pull requests140 (140)https://github.com/angular/angular/pulls
Discussionshttps://github.com/angular/angular/discussions
Actionshttps://github.com/angular/angular/actions
Projectshttps://github.com/angular/angular/projects
Security and quality40 (40)https://github.com/angular/angular/security
Insightshttps://github.com/angular/angular/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fangular%2Fangular%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fangular%2Fangular%2Fissues%2Fnew%2Fchoose
crisbetohttps://github.com/crisbeto
angular:mainhttps://github.com/angular/angular/tree/main
crisbeto:self-closing-tagshttps://github.com/crisbeto/angular/tree/self-closing-tags
Conversation 28 https://github.com/angular/angular/pull/48535
Commits 1 https://github.com/angular/angular/pull/48535/commits
Checks 0 https://github.com/angular/angular/pull/48535/checks
Files changed https://github.com/angular/angular/pull/48535/files
Please reload this pagehttps://github.com/angular/angular/pull/48535/files
feat(compiler): allow self-closing tags on custom elements https://github.com/angular/angular/pull/48535/files#top
Show all changes 1 commit https://github.com/angular/angular/pull/48535/files
6cd07d7 feat(compiler): allow self-closing tags on custom elements crisbeto Dec 20, 2022 https://github.com/angular/angular/pull/48535/commits/6cd07d77e79b0f61ce309b35200764fcc761cabd
Clear filters https://github.com/angular/angular/pull/48535/files
Please reload this pagehttps://github.com/angular/angular/pull/48535/files
Please reload this pagehttps://github.com/angular/angular/pull/48535/files
GOLDEN_PARTIAL.js https://github.com/angular/angular/pull/48535/files#diff-5d9a519991512f137ca41e413e5b95eedbba49dfaaabc9906e0e1b803e27582d
TEST_CASES.json https://github.com/angular/angular/pull/48535/files#diff-38df28f4d484511d15a6ef469c843ba3a9a0dfe6874b583af76bc2c946f3a0b8
self_closing_tags.ts https://github.com/angular/angular/pull/48535/files#diff-3ecb94483759c11e621452675da570a31a05903905bcbd75e3c1bf47a79be41d
self_closing_tags_nested.ts https://github.com/angular/angular/pull/48535/files#diff-0e335ce4e3b31b8da579812968cd5985e403e580425fe79754551fcacbb951a4
self_closing_tags_nested_template.js https://github.com/angular/angular/pull/48535/files#diff-1d954097c6f07ddeb9bd704d6bdab0ae03e987b53904de196c1f355583530dcc
self_closing_tags_template.js https://github.com/angular/angular/pull/48535/files#diff-64fbad39c6075f66757d41f3bdbb1b3af3bd0ee193b934de160ee941b645528b
html_tags.ts https://github.com/angular/angular/pull/48535/files#diff-99f797d0e2bb453bdde200d45cdec6334d64fad8b74d2ab4197e09b7aed36413
parser.ts https://github.com/angular/angular/pull/48535/files#diff-1f3fc3cc3177da70d49845c7c7054e0463ac98ef3be7143fe7ec1a6733b26efb
selector.ts https://github.com/angular/angular/pull/48535/files#diff-efb5ff53365a9318931934e4bd861d49e6e5e1d0ae23c48ee3cbd827dc00621e
html_parser_spec.ts https://github.com/angular/angular/pull/48535/files#diff-89a64880957c8a712e0279b8f561ce34f0aafe2f95553c3c114917c7785b95b4
selector_spec.ts https://github.com/angular/angular/pull/48535/files#diff-d425a1908220d241eed5c3b0f6e183ec36113fc19fc6b1c37fa5be2e4708f530
integration_spec.ts https://github.com/angular/angular/pull/48535/files#diff-99c6fe239750aedeef322f1ac5b9e8b21ca914b48afc52787f5fd45736128f3c
packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_template/GOLDEN_PARTIAL.jshttps://github.com/angular/angular/pull/48535/files#diff-5d9a519991512f137ca41e413e5b95eedbba49dfaaabc9906e0e1b803e27582d
View file https://github.com/crisbeto/angular/blob/6cd07d77e79b0f61ce309b35200764fcc761cabd/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_template/GOLDEN_PARTIAL.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/48535/{{ revealButtonHref }}
https://github.com/angular/angular/pull/48535/files#diff-5d9a519991512f137ca41e413e5b95eedbba49dfaaabc9906e0e1b803e27582d
packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_template/TEST_CASES.jsonhttps://github.com/angular/angular/pull/48535/files#diff-38df28f4d484511d15a6ef469c843ba3a9a0dfe6874b583af76bc2c946f3a0b8
View file https://github.com/crisbeto/angular/blob/6cd07d77e79b0f61ce309b35200764fcc761cabd/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_template/TEST_CASES.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/48535/{{ revealButtonHref }}
https://github.com/angular/angular/pull/48535/files#diff-38df28f4d484511d15a6ef469c843ba3a9a0dfe6874b583af76bc2c946f3a0b8
...es/compiler-cli/test/compliance/test_cases/r3_view_compiler_template/self_closing_tags.tshttps://github.com/angular/angular/pull/48535/files#diff-3ecb94483759c11e621452675da570a31a05903905bcbd75e3c1bf47a79be41d
View file https://github.com/crisbeto/angular/blob/6cd07d77e79b0f61ce309b35200764fcc761cabd/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_template/self_closing_tags.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/48535/{{ revealButtonHref }}
...iler-cli/test/compliance/test_cases/r3_view_compiler_template/self_closing_tags_nested.tshttps://github.com/angular/angular/pull/48535/files#diff-0e335ce4e3b31b8da579812968cd5985e403e580425fe79754551fcacbb951a4
View file https://github.com/crisbeto/angular/blob/6cd07d77e79b0f61ce309b35200764fcc761cabd/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_template/self_closing_tags_nested.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/48535/{{ revealButtonHref }}
...test/compliance/test_cases/r3_view_compiler_template/self_closing_tags_nested_template.jshttps://github.com/angular/angular/pull/48535/files#diff-1d954097c6f07ddeb9bd704d6bdab0ae03e987b53904de196c1f355583530dcc
View file https://github.com/crisbeto/angular/blob/6cd07d77e79b0f61ce309b35200764fcc761cabd/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_template/self_closing_tags_nested_template.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/48535/{{ revealButtonHref }}
...er-cli/test/compliance/test_cases/r3_view_compiler_template/self_closing_tags_template.jshttps://github.com/angular/angular/pull/48535/files#diff-64fbad39c6075f66757d41f3bdbb1b3af3bd0ee193b934de160ee941b645528b
View file https://github.com/crisbeto/angular/blob/6cd07d77e79b0f61ce309b35200764fcc761cabd/packages/compiler-cli/test/compliance/test_cases/r3_view_compiler_template/self_closing_tags_template.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/48535/{{ revealButtonHref }}
packages/compiler/src/ml_parser/html_tags.tshttps://github.com/angular/angular/pull/48535/files#diff-99f797d0e2bb453bdde200d45cdec6334d64fad8b74d2ab4197e09b7aed36413
View file https://github.com/crisbeto/angular/blob/6cd07d77e79b0f61ce309b35200764fcc761cabd/packages/compiler/src/ml_parser/html_tags.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/48535/{{ revealButtonHref }}
https://github.com/angular/angular/pull/48535/files#diff-99f797d0e2bb453bdde200d45cdec6334d64fad8b74d2ab4197e09b7aed36413
https://github.com/angular/angular/pull/48535/files#diff-99f797d0e2bb453bdde200d45cdec6334d64fad8b74d2ab4197e09b7aed36413
https://github.com/angular/angular/pull/48535/files#diff-99f797d0e2bb453bdde200d45cdec6334d64fad8b74d2ab4197e09b7aed36413
https://github.com/angular/angular/pull/48535/files#diff-99f797d0e2bb453bdde200d45cdec6334d64fad8b74d2ab4197e09b7aed36413
https://github.com/angular/angular/pull/48535/files#diff-99f797d0e2bb453bdde200d45cdec6334d64fad8b74d2ab4197e09b7aed36413
https://github.com/angular/angular/pull/48535/files#diff-99f797d0e2bb453bdde200d45cdec6334d64fad8b74d2ab4197e09b7aed36413
crisbetohttps://github.com/crisbeto
Dec 20, 2022https://github.com/angular/angular/pull/48535/files#r1052932731
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/angular/angular/pull/48535/files
packages/compiler/src/ml_parser/parser.tshttps://github.com/angular/angular/pull/48535/files#diff-1f3fc3cc3177da70d49845c7c7054e0463ac98ef3be7143fe7ec1a6733b26efb
View file https://github.com/crisbeto/angular/blob/6cd07d77e79b0f61ce309b35200764fcc761cabd/packages/compiler/src/ml_parser/parser.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/48535/{{ revealButtonHref }}
https://github.com/angular/angular/pull/48535/files#diff-1f3fc3cc3177da70d49845c7c7054e0463ac98ef3be7143fe7ec1a6733b26efb
https://github.com/angular/angular/pull/48535/files#diff-1f3fc3cc3177da70d49845c7c7054e0463ac98ef3be7143fe7ec1a6733b26efb
packages/compiler/src/selector.tshttps://github.com/angular/angular/pull/48535/files#diff-efb5ff53365a9318931934e4bd861d49e6e5e1d0ae23c48ee3cbd827dc00621e
View file https://github.com/crisbeto/angular/blob/6cd07d77e79b0f61ce309b35200764fcc761cabd/packages/compiler/src/selector.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/48535/{{ revealButtonHref }}
https://github.com/angular/angular/pull/48535/files#diff-efb5ff53365a9318931934e4bd861d49e6e5e1d0ae23c48ee3cbd827dc00621e
https://github.com/angular/angular/pull/48535/files#diff-efb5ff53365a9318931934e4bd861d49e6e5e1d0ae23c48ee3cbd827dc00621e
https://github.com/angular/angular/pull/48535/files#diff-efb5ff53365a9318931934e4bd861d49e6e5e1d0ae23c48ee3cbd827dc00621e
crisbetohttps://github.com/crisbeto
Dec 20, 2022https://github.com/angular/angular/pull/48535/files#r1052933056
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/angular/angular/pull/48535/files
alxhubhttps://github.com/alxhub
Dec 27, 2022https://github.com/angular/angular/pull/48535/files#r1057761649
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/angular/angular/pull/48535/files
https://github.com/angular/angular/pull/48535/files#diff-efb5ff53365a9318931934e4bd861d49e6e5e1d0ae23c48ee3cbd827dc00621e
packages/compiler/test/ml_parser/html_parser_spec.tshttps://github.com/angular/angular/pull/48535/files#diff-89a64880957c8a712e0279b8f561ce34f0aafe2f95553c3c114917c7785b95b4
View file https://github.com/crisbeto/angular/blob/6cd07d77e79b0f61ce309b35200764fcc761cabd/packages/compiler/test/ml_parser/html_parser_spec.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/48535/{{ revealButtonHref }}
https://github.com/angular/angular/pull/48535/files#diff-89a64880957c8a712e0279b8f561ce34f0aafe2f95553c3c114917c7785b95b4
https://github.com/angular/angular/pull/48535/files#diff-89a64880957c8a712e0279b8f561ce34f0aafe2f95553c3c114917c7785b95b4
https://github.com/angular/angular/pull/48535/files#diff-89a64880957c8a712e0279b8f561ce34f0aafe2f95553c3c114917c7785b95b4
https://github.com/angular/angular/pull/48535/files#diff-89a64880957c8a712e0279b8f561ce34f0aafe2f95553c3c114917c7785b95b4
packages/compiler/test/selector/selector_spec.tshttps://github.com/angular/angular/pull/48535/files#diff-d425a1908220d241eed5c3b0f6e183ec36113fc19fc6b1c37fa5be2e4708f530
View file https://github.com/crisbeto/angular/blob/6cd07d77e79b0f61ce309b35200764fcc761cabd/packages/compiler/test/selector/selector_spec.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/angular/angular/pull/48535/{{ revealButtonHref }}
https://github.com/angular/angular/pull/48535/files#diff-d425a1908220d241eed5c3b0f6e183ec36113fc19fc6b1c37fa5be2e4708f530
https://github.com/angular/angular/pull/48535/files#diff-d425a1908220d241eed5c3b0f6e183ec36113fc19fc6b1c37fa5be2e4708f530
Please reload this pagehttps://github.com/angular/angular/pull/48535/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.