Skip to content

Commit ad88c72

Browse files
MeAkibAndrewKushnir
authored andcommitted
docs: fix incorrect line highlighting in tutorials
Ensures highlighted lines in tutorial examples match the corresponding code shown to readers.
1 parent 5b06996 commit ad88c72

File tree

2 files changed

+2
-2
lines changed
  • adev/src/content/tutorials/learn-angular/steps

2 files changed

+2
-2
lines changed

adev/src/content/tutorials/learn-angular/steps/11-optimizing-images/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import { NgOptimizedImage } from '@angular/common';
3131

3232
To enable the `NgOptimizedImage` directive, swap out the `src` attribute for `ngSrc`. This applies for both static image sources (i.e., `src`) and dynamic image sources (i.e., `[src]`).
3333

34-
```angular-ts {highlight:[[9],[13]]}
34+
```angular-ts {highlight:[[7],[11]]}
3535
import { NgOptimizedImage } from '@angular/common';
3636
3737
@Component({

adev/src/content/tutorials/learn-angular/steps/15-forms/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ For this form to use Angular features that enable data binding to forms, you'll
3131

3232
Import the `FormsModule` from `@angular/forms` and add it to the `imports` array of the `User`.
3333

34-
```ts {highlight:[2,7]}
34+
```ts {highlight:[2,6]}
3535
import {Component} from '@angular/core';
3636
import {FormsModule} from '@angular/forms';
3737

0 commit comments

Comments
 (0)