Merge branch 'gh-pages' of https://github.com/apache/echarts-examples into feat-share
diff --git a/src/editor/sandbox/index.js b/src/editor/sandbox/index.js
index cec82b2..1e06c12 100644
--- a/src/editor/sandbox/index.js
+++ b/src/editor/sandbox/index.js
@@ -84,7 +84,7 @@
.replace('__LANG__', document.documentElement.lang || 'en')
.replace('__CSP__', sandbox.csp)
.replace(
- '<!--SCRIPTS-->',
+ '__SCRIPTS__',
scripts
.map((script) =>
script.content
diff --git a/src/editor/sandbox/srcdoc.html b/src/editor/sandbox/srcdoc.html
index e7ffd88..0d5e7a4 100644
--- a/src/editor/sandbox/srcdoc.html
+++ b/src/editor/sandbox/srcdoc.html
@@ -68,6 +68,6 @@
<script src="https://cdn.jsdelivr.net/npm/jquery"></script>
<script src="https://cdn.jsdelivr.net/npm/seedrandom@3.0.5/seedrandom.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/acorn@8.7.1/dist/acorn.min.js"></script>
- <!--SCRIPTS-->
+ __SCRIPTS__
</body>
</html>