mirror of https://github.com/sveltejs/svelte
parent
e0dba165b4
commit
b5faa246f0
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'svelte': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix: coerce nullish `<title>` to empty string
|
@ -0,0 +1,7 @@
|
|||||||
|
import { test } from '../../test';
|
||||||
|
|
||||||
|
export default test({
|
||||||
|
test({ assert, target }) {
|
||||||
|
assert.equal(target.ownerDocument.title, '');
|
||||||
|
}
|
||||||
|
});
|
@ -0,0 +1,6 @@
|
|||||||
|
<script>
|
||||||
|
const thing = {};
|
||||||
|
</script>
|
||||||
|
<svelte:head>
|
||||||
|
<title>{thing.thing}</title>
|
||||||
|
</svelte:head>
|
Loading…
Reference in new issue