-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
When you have styles like:
<template>
<style>
.root { display: block; }
</style>
</template>
This style tag is removed from the template and used as the codepen's CSS. This is incorrect in this case, styles within a template should remain part of the template.
bit-docs-html-codepen-link/codepen-data.js
Lines 25 to 30 in 3ab8bbb
var CSS; | |
var styleResults = HTML.match(styleRegExp); | |
if (styleResults) { | |
HTML = HTML.replace(styleResults[0], "").trim(); | |
CSS = styleResults[1].trim(); | |
} |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working