Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apps/svelte.dev/src/routes/_home/Footer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

<Section>
<p class="copyright">
© {new Date().getFullYear()} Svelte contributors. Svelte is <a href="https://github.com/sveltejs/svelte"
>free and open source software</a
> released under the MIT license.
© {new Date().getFullYear()} Svelte contributors. Svelte is
<a href="https://github.com/sveltejs/svelte">free and open source software</a> released under the
MIT license.
</p>
</Section>

Expand Down
3 changes: 2 additions & 1 deletion apps/svelte.dev/src/routes/docs/[...path]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import Breadcrumbs from './Breadcrumbs.svelte';
import PageControls from '$lib/components/PageControls.svelte';
import { goto } from '$app/navigation';
import { escape_html } from '$lib/utils/escape';

let { data } = $props();

Expand Down Expand Up @@ -69,7 +70,7 @@
<div id="docs-content" use:legacy_details>
<header>
<Breadcrumbs breadcrumbs={data.document.breadcrumbs.slice(1)} />
<h1>{data.document.metadata.title}</h1>
<h1>{@html escape_html(data.document.metadata.title).replaceAll('/', '/<wbr>')}</h1>
</header>

<OnThisPage {content} document={data.document} />
Expand Down