diff --git a/adev/src/content/guide/di/hierarchical-dependency-injection.md b/adev/src/content/guide/di/hierarchical-dependency-injection.md
index b3d5da19540..af5ea8b3fc6 100644
--- a/adev/src/content/guide/di/hierarchical-dependency-injection.md
+++ b/adev/src/content/guide/di/hierarchical-dependency-injection.md
@@ -94,9 +94,9 @@ The following diagram represents the relationship between the `root` `ModuleInje
```mermaid
stateDiagram-v2
- elementInjector: EnvironmentInjector\n(configured by Angular)\nhas special things like DomSanitizer => providedIn 'platform'
- rootInjector: root EnvironmentInjector\n(configured by AppConfig)\nhas things for your app => bootstrapApplication(..., AppConfig)
- nullInjector: NullInjector\nalways throws an error unless\nyou use @Optional()
+ elementInjector: EnvironmentInjector
(configured by Angular)
has special things like DomSanitizer => providedIn 'platform'
+ rootInjector: root EnvironmentInjector
(configured by AppConfig)
has things for your app => bootstrapApplication(..., AppConfig)
+ nullInjector: NullInjector
always throws an error unless
you use @Optional()
direction BT
rootInjector --> elementInjector