donpark / html2jade

Converts HTML to Jade template. Not perfect but useful enough for non-daily conversions.
MIT License
1.18k stars 156 forks source link

Script tag missing . at the end. #78

Closed cv711 closed 10 years ago

cv711 commented 10 years ago

When trying to convert something like:

<script>
    document.addEventListener('DOMContentLoaded', function() {
      ...
    }, false);
</script>

I get this:

script
 document.addEventListener('DOMContentLoaded', function() {
      ...
 }, false);

the fact that script isn't script. messes everything up for me.

Anybody else with the same issue?

cv711 commented 10 years ago

fixed in latest commit. It was driving me crazy! Thanks!