We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92fb5f4 commit 8330c4aCopy full SHA for 8330c4a
packages/app/integration-tests/tests/sandboxes.test.js
@@ -27,6 +27,7 @@ const SANDBOXES = [
27
'2ppkvzx570', // nested imports
28
'rl2m3xklyo', // node_modules import
29
'vanilla',
30
+ 'n5wy74w8vl', // material-ui generated demo
31
];
32
33
function pageLoaded(page) {
packages/app/src/sandbox/compile.js
@@ -49,7 +49,7 @@ export function getHTMLParts(html: string) {
49
const headMatch = html.match(headMatcher);
50
const bodyMatch = html.match(bodyMatcher);
51
const head = headMatch && headMatch[1] ? headMatch[1] : '';
52
- const body = bodyMatch && bodyMatch[1] ? bodyMatch[1] : '';
+ const body = bodyMatch && bodyMatch[1] ? bodyMatch[1] : html;
53
54
return { body, head };
55
}
0 commit comments