File tree 2 files changed +5
-4
lines changed
apps/svelte.dev/src/routes
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 4
4
5
5
<Section >
6
6
<p class =" copyright" >
7
- © {new Date ().getFullYear ()} Svelte contributors. Svelte is < a href = " https://github.com/sveltejs/svelte "
8
- >free and open source software</a
9
- > released under the MIT license.
7
+ © {new Date ().getFullYear ()} Svelte contributors. Svelte is
8
+ < a href = " https://github.com/sveltejs/svelte " >free and open source software</a > released under the
9
+ MIT license.
10
10
</p >
11
11
</Section >
12
12
Original file line number Diff line number Diff line change 7
7
import Breadcrumbs from ' ./Breadcrumbs.svelte' ;
8
8
import PageControls from ' $lib/components/PageControls.svelte' ;
9
9
import { goto } from ' $app/navigation' ;
10
+ import { escape_html } from ' $lib/utils/escape' ;
10
11
11
12
let { data } = $props ();
12
13
69
70
<div id =" docs-content" use:legacy _details>
70
71
<header >
71
72
<Breadcrumbs breadcrumbs ={data .document .breadcrumbs .slice (1 )} />
72
- <h1 >{data .document .metadata .title }</h1 >
73
+ <h1 >{@html escape_html ( data .document .metadata .title ). replaceAll ( ' / ' , ' /<wbr> ' ) }</h1 >
73
74
</header >
74
75
75
76
<OnThisPage {content } document ={data .document } />
You can’t perform that action at this time.
0 commit comments