We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1752dea commit df7c2fcCopy full SHA for df7c2fc
packages/site-kit/src/lib/markdown/utils.ts
@@ -144,5 +144,5 @@ const parse = (str: string) => {
144
* deployments and when developing locally
145
*/
146
export function strip_origin(str: string) {
147
- return str.replaceAll('https://svelte.dev', '');
+ return str && str.replaceAll('https://svelte.dev', '');
148
}
0 commit comments