mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Fix 5204 CDN code sample script tag using self-closing syntax
This commit is contained in:
@@ -14,10 +14,12 @@
|
||||
|
||||
const example1 = `import { Client } from 'appwrite';`;
|
||||
const example2 =
|
||||
`<script src="https://cdn.jsdelivr.net/npm/appwrite@${$versions['client-web']}" />
|
||||
<script>
|
||||
`<script src="https://cdn.jsdelivr.net/npm/appwrite@${$versions['client-web']}"></script` +
|
||||
`>\n` +
|
||||
`<script>
|
||||
const { Client } = Appwrite;
|
||||
</script` + `>`; // Prevent svelte from processing the closing script tag
|
||||
</script` +
|
||||
`>`; // Prevent svelte from processing the closing script tag
|
||||
</script>
|
||||
|
||||
<WizardStep>
|
||||
|
||||
Reference in New Issue
Block a user