jonkemp / inline-css

Inline css into an html file.
MIT License
429 stars 85 forks source link

Extra closing tag in generated html #82

Open hypersolution1 opened 5 years ago

hypersolution1 commented 5 years ago

Version 2.4.1

An extra closing tag appear at the end when generating html. In my example, </h1> is added.

Input:

<html>
    <head>
    </head>
    <body>
      <h1 class="title>Test</h1>
      <p class="subtitle>hello</p>
      <p class="content">Lorem ipsum</p>
    </body>
  </html>

Output:

<html>
    <head>
    </head>
    <body>
      <h1 class="title>Test</h1>
      <p class=" subtitle="">hello<p></p>
      <p class="content">Lorem ipsum</p>
    </h1></body>
  </html>