fixed regex

This commit is contained in:
ChrQR 2024-04-13 23:56:33 +02:00
parent 3f11186fc3
commit 800680453d

View File

@ -54,7 +54,7 @@
{#key selected}
<ul in:blur={{ delay: 250 }} out:blur={{ duration: 250 }} class="text-center h-4 my-1">
{#each selected.subPages as subPage}
<li class="sub-nav-item inline-block font-jose"><a class="sub-nav-link text-xl p-2"href={(subPage)}>{subPage.replace("_", " ")}</a></li>
<li class="sub-nav-item inline-block font-jose"><a class="sub-nav-link text-xl p-2"href={(subPage)}>{subPage.replace(/_/g, ' ')}</a></li>
{/each}
</ul>
{/key}