docs(docs-infra): replace newline with <br> (#59156)

Replace the "\n" new line operator with <br> for wrap the text.
PR Close #59156
This commit is contained in:
Vlad Boisa
2024-12-11 19:57:26 +01:00
committed by Andrew Kushnir
parent b476537ddd
commit f0df010644
@@ -127,7 +127,7 @@ serviceC[Service C]
serviceD[Service D]
end
direction TB
componentConstructor["Component\nconstructor(HeroService)"]
componentConstructor["Component <br> constructor(HeroService)"]
heroService-->componentConstructor
style componentConstructor text-align: left
```