From cd3c8cdd3a145c25017c48dc2fa9a8795e5a523d Mon Sep 17 00:00:00 2001 From: Kam Date: Sat, 29 Aug 2026 14:57:01 +0300 Subject: [PATCH] docs: correct out-of-range highlight indices in two code blocks Both indices point past the end of their block, so the intended lines are never highlighted. The reactive forms block renders with no highlight at all, and the first example in output-interop.md highlights nothing while its sibling block is unaffected. --- adev/src/content/ecosystem/rxjs-interop/output-interop.md | 2 +- .../tutorials/learn-angular/steps/17-reactive-forms/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/adev/src/content/ecosystem/rxjs-interop/output-interop.md b/adev/src/content/ecosystem/rxjs-interop/output-interop.md index 3a5fef2cd31..56e5d9dc704 100644 --- a/adev/src/content/ecosystem/rxjs-interop/output-interop.md +++ b/adev/src/content/ecosystem/rxjs-interop/output-interop.md @@ -8,7 +8,7 @@ The `@angular/rxjs-interop` package offers two APIs related to component and dir The `outputFromObservable` lets you create a component or directive output that emits based on an RxJS observable: -```ts {highlight:[11]} +```ts {highlight:[9]} import {Directive} from '@angular/core'; import {outputFromObservable} from '@angular/core/rxjs-interop'; diff --git a/adev/src/content/tutorials/learn-angular/steps/17-reactive-forms/README.md b/adev/src/content/tutorials/learn-angular/steps/17-reactive-forms/README.md index e42c678470a..d463590cd21 100644 --- a/adev/src/content/tutorials/learn-angular/steps/17-reactive-forms/README.md +++ b/adev/src/content/tutorials/learn-angular/steps/17-reactive-forms/README.md @@ -110,7 +110,7 @@ handleSubmit() { You have access to the form values, now it is time to handle the submission event and use the `handleSubmit` method. Angular has an event handler for this specific purpose called `ngSubmit`. Update the form element to call the `handleSubmit` method when the form is submitted. -```angular-html {highlight:[3]} +```angular-html {highlight:[1]}
```