diff --git a/app/[locale]/agb/page.tsx b/app/[locale]/agb/page.tsx index 4cf7be5..f8f55e6 100644 --- a/app/[locale]/agb/page.tsx +++ b/app/[locale]/agb/page.tsx @@ -74,7 +74,7 @@ export default function AGB() {
{stand}
@@ -91,7 +91,24 @@ export default function AGB() {{paragraph}
++ {paragraph.split(/(\[.*?\]\(.*?\))/g).map((part, i) => { + const match = part.match(/\[(.*?)\]\((.*?)\)/); + if (match) { + return ( + + {match[1]} + + ); + } + return part; + })} +
))}