Title: Wrong indentation of code snippet in component lifecycle guide · Issue #50488 · angular/angular · GitHub
Open Graph Title: Wrong indentation of code snippet in component lifecycle guide · Issue #50488 · angular/angular
X Title: Wrong indentation of code snippet in component lifecycle guide · Issue #50488 · angular/angular
Description: Describe the problem that you experienced The code snippet in the DestroyRef section is not properly aligned although it looks correct in the respective markdown file. Enter the URL of the topic with the problem https://angular.io/guide/...
Open Graph Description: Describe the problem that you experienced The code snippet in the DestroyRef section is not properly aligned although it looks correct in the respective markdown file. Enter the URL of the topic wi...
X Description: Describe the problem that you experienced The code snippet in the DestroyRef section is not properly aligned although it looks correct in the respective markdown file. Enter the URL of the topic wi...
Opengraph URL: https://github.com/angular/angular/issues/50488
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Wrong indentation of code snippet in component lifecycle guide","articleBody":"### Describe the problem that you experienced\n\nThe code snippet in the DestroyRef section is not properly aligned although it looks correct in the respective markdown file.\n\n### Enter the URL of the topic with the problem\n\nhttps://angular.io/guide/lifecycle-hooks#destroyref\n\n### Describe what you were looking for in the documentation\n\nReading through the DestroyRef service.\n\n### Describe the actions that led you to experience the problem\n\n_No response_\n\n### Describe what you want to experience that would fix the problem\n\n_No response_\n\n### Add a screenshot if that helps illustrate the problem\n\n\r\n\n\n### If this problem caused an exception or error, please paste it here\n\n_No response_\n\n### If the problem is browser-specific, please specify the device, OS, browser, and version\n\n_No response_\n\n### Provide any additional information here in as much as detail as you can\n\n_No response_","author":{"url":"https://github.com/bampakoa","@type":"Person","name":"bampakoa"},"datePublished":"2023-05-26T19:36:30Z","url":"https://github.com/angular/angular/issues/50488"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2c80c330-a8ba-f43b-79f9-1c3bb84fbc2d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E5F2:3DD488:2392D89:2D29D67:6B0185D9 |
| html-safe-nonce | 21be7cfcf6edfe10f6eb6ae897dfe33fc2c78cbf363bfe072cb4c420a87d0bc8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNUYyOjNERDQ4ODoyMzkyRDg5OjJEMjlENjc6NkIwMTg1RDkiLCJ2aXNpdG9yX2lkIjoiNDI2ODY1MDkzMjYzODUzMDE3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 00318ad9b53cc48d77ad5d3a082360bab4389403dc9f3089ba966f9e0ec6cf8c |
| hovercard-subject-tag | issue:1728140038 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/50488/issue_layout |
| twitter:image | https://opengraph.githubassets.com/240450808919e282846accd98073f1012a0e1b99a89c66cc0206c2ddd7c4604b/angular/angular/issues/50488 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/240450808919e282846accd98073f1012a0e1b99a89c66cc0206c2ddd7c4604b/angular/angular/issues/50488 |
| og:image:alt | Describe the problem that you experienced The code snippet in the DestroyRef section is not properly aligned although it looks correct in the respective markdown file. Enter the URL of the topic wi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bampakoa |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width