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 0f6afed commit b3a8308Copy full SHA for b3a8308
app.html
@@ -17,6 +17,7 @@
17
<!-- <script src="sprite3d.js"></script> -->
18
<script src="skin.js"></script>
19
<script src="parse5.js"></script>
20
+ <script src="html-beautify.js"></script>
21
<script src="file-type.js"></script>
22
</head>
23
<body>
@@ -3598,7 +3599,7 @@
3598
3599
root.removeChild(root.firstChild);
3600
}
3601
} else if (id === 'action-copy-scene') {
- const s = root.outerHTML.replace(/^(<xr-site) id="root"/, '$1');
3602
+ const s = html_beautify(root.outerHTML.replace(/^(<xr-site) id="root"/, '$1'));
3603
console.log('copy', s);
3604
clipboard.copy(s);
3605
} else if (id === 'action-paste-scene') {
0 commit comments