[fix] foreign namespace hash link (#7080)

pull/7104/head
Ignatius Bagus 3 years ago committed by GitHub
parent 6bfd2724a0
commit 2012124e87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,6 +1,6 @@
// The `foreign` namespace covers all DOM implementations that aren't HTML5. // The `foreign` namespace covers all DOM implementations that aren't HTML5.
// It opts out of HTML5-specific a11y checks and case-insensitive attribute names. // It opts out of HTML5-specific a11y checks and case-insensitive attribute names.
export const foreign = 'https://svelte.dev/docs#svelte_options'; export const foreign = 'https://svelte.dev/docs#template-syntax-svelte-options';
export const html = 'http://www.w3.org/1999/xhtml'; export const html = 'http://www.w3.org/1999/xhtml';
export const mathml = 'http://www.w3.org/1998/Math/MathML'; export const mathml = 'http://www.w3.org/1998/Math/MathML';
export const svg = 'http://www.w3.org/2000/svg'; export const svg = 'http://www.w3.org/2000/svg';

@ -18,8 +18,8 @@ function create_fragment(ctx) {
return { return {
c() { c() {
svg = document.createElementNS("https://svelte.dev/docs#svelte_options", "svg"); svg = document.createElementNS("https://svelte.dev/docs#template-syntax-svelte-options", "svg");
img = document.createElementNS("https://svelte.dev/docs#svelte_options", "img"); img = document.createElementNS("https://svelte.dev/docs#template-syntax-svelte-options", "img");
this.h(); this.h();
}, },
l(nodes) { l(nodes) {

Loading…
Cancel
Save