Skip to content

Commit

Permalink
Remove self-closing div tag, which is invalid HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
wyattdanger committed Apr 25, 2016
1 parent 6d4902f commit 0216d6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/server/index.html.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
});

exports.default = function () {
return '\n <!DOCTYPE html>\n <html>\n <head>\n <title>React Storybook</title>\n <script type="text/javascript">\n window.dataId = \'' + _uuid2.default.v4() + '\';\n </script>\n <style>\n /*\n When resizing panels, the drag event breaks if the cursor\n moves over the iframe. Add the \'dragging\' class to the body\n at drag start and remove it when the drag ends.\n */\n .dragging iframe {\n pointer-events: none;\n }\n </style>\n </head>\n <body style="margin: 0;">\n <div id="root" />\n <script src="static/admin.bundle.js"></script>\n </body>\n </html>\n ';
return '\n <!DOCTYPE html>\n <html>\n <head>\n <title>React Storybook</title>\n <script type="text/javascript">\n window.dataId = \'' + _uuid2.default.v4() + '\';\n </script>\n <style>\n /*\n When resizing panels, the drag event breaks if the cursor\n moves over the iframe. Add the \'dragging\' class to the body\n at drag start and remove it when the drag ends.\n */\n .dragging iframe {\n pointer-events: none;\n }\n </style>\n </head>\n <body style="margin: 0;">\n <div id="root"></div>\n <script src="static/admin.bundle.js"></script>\n </body>\n </html>\n ';
};

var _uuid = require('uuid');
Expand Down
2 changes: 1 addition & 1 deletion src/server/index.html.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function () {
</style>
</head>
<body style="margin: 0;">
<div id="root" />
<div id="root"></div>
<script src="static/admin.bundle.js"></script>
</body>
</html>
Expand Down

0 comments on commit 0216d6a

Please sign in to comment.