fix: resolve mdx parsing error caused by nested spans with newlines

Former-commit-id: 48ed0e9f1c78afa41efdd36c59d9a6a30094dbea
This commit is contained in:
2026-05-07 13:38:25 +02:00
parent 7cb58e946c
commit 121d03d335
2 changed files with 2 additions and 8 deletions

View File

@@ -57,10 +57,7 @@ description: Willkommen bei E-TIB GmbH
</div>
<h3 className="font-heading text-4xl md:text-5xl lg:text-6xl font-black text-neutral-dark mb-6 leading-[1.1] tracking-tight">
Wir sind die <span className="text-primary relative whitespace-nowrap">
Experten
<svg className="absolute -bottom-2 left-0 w-full h-3 text-primary/20" viewBox="0 0 100 10" preserveAspectRatio="none"><path d="M0 5 Q 50 10 100 5" stroke="currentColor" strokeWidth="4" fill="none"/></svg>
</span> <br/>für Kabeltiefbau
Wir sind die <span className="text-primary relative whitespace-nowrap">Experten<svg className="absolute -bottom-2 left-0 w-full h-3 text-primary/20" viewBox="0 0 100 10" preserveAspectRatio="none"><path d="M0 5 Q 50 10 100 5" stroke="currentColor" strokeWidth="4" fill="none"/></svg></span> <br/>für Kabeltiefbau
</h3>
<p className="text-xl text-text-secondary leading-relaxed mb-8">

View File

@@ -57,10 +57,7 @@ description: Welcome to E-TIB GmbH
</div>
<h3 className="font-heading text-4xl md:text-5xl lg:text-6xl font-black text-neutral-dark mb-6 leading-[1.1] tracking-tight">
We are the <span className="text-primary relative whitespace-nowrap">
Experts
<svg className="absolute -bottom-2 left-0 w-full h-3 text-primary/20" viewBox="0 0 100 10" preserveAspectRatio="none"><path d="M0 5 Q 50 10 100 5" stroke="currentColor" strokeWidth="4" fill="none"/></svg>
</span> <br/>for Cable Construction
We are the <span className="text-primary relative whitespace-nowrap">Experts<svg className="absolute -bottom-2 left-0 w-full h-3 text-primary/20" viewBox="0 0 100 10" preserveAspectRatio="none"><path d="M0 5 Q 50 10 100 5" stroke="currentColor" strokeWidth="4" fill="none"/></svg></span> <br/>for Cable Construction
</h3>
<p className="text-xl text-text-secondary leading-relaxed mb-8">