jonkemp / jonkemp/inline-css

Error result when css comment contains `<`

Open
#47 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
438
Forks
77
PR merge metrics
No merged PRs in 30d

Description

The example html content:

``` html

/* somebody <somebody@gmail.com> */
.content {
background: #002b36;
color: #839496;
}

Hello!

```

The error result is:

``` html

/* somebody <somebody@gmail.com> */
.content {
background: #002b36;
color: #839496;
}
</somebody@gmail.com>

Hello!

```

The result should be:

``` html

Hello!

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.