inline-css
inline-css copied to clipboard
Error result when css comment contains `<`
The example html content:
<style>
/* somebody <[email protected]> */
.content {
background: #002b36;
color: #839496;
}
</style>
<div class="content">Hello!</div>
The error result is:
<style>
/* somebody <[email protected]> */
.content {
background: #002b36;
color: #839496;
}
</[email protected]></style>
<div class="content">Hello!</div>
The result should be:
<div class="content" style="background: #002b36; color: #839496;">Hello!</div>