inline-css icon indicating copy to clipboard operation
inline-css copied to clipboard

Error result when css comment contains `<`

Open akuma opened this issue 9 years ago • 0 comments

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>

akuma avatar Jun 23 '16 05:06 akuma