Closed MichaelJCole closed 10 years ago
yup, caught "no-js" but not "lt-ie9 lt-ie8 lt-ie7". hmm
weird. conditional2.html test case is very similar to yours yet extra conditionals are not dropped in its output.
even more weird, latest version now converts both [conditional2.html] and your HTML to nothing. Since html2jade hasn't changed much, dependent module change that broke this, likely jsdom.
Unfortunately, I don't have time to dig further into this right now.
If you are in a hurry, try installing older versions of jsdom
.
Hey, thanks for looking into it! I've used your site for alot of converting and it's been extrememly helpful :-)
you're welcome. I'm expected to be stuck in crunch mode until end of November but I'll try to take opportunity shots meanwhile. thanks for your patience. :-)
oh heck. I went ahead and tried different versions of jsdom and found latest working version of jsdom is 0.6.5 so released a version locked to that version of jsdom. hope that'll let you do what you need done.
Meanwhile, I'll leave this issue open to figure out what changes in jsdom broke this. It's not htmlparser2. I've checked.
As of version 0.7, jsdom-little
is used which apparently don't have this issue.
Closing for now.
Please reopen if issue reoccurs.
Hi, I just converted this HTML and it munged the conditionals that set the html tag. This HTML Is from http://www.initializr.com/:
HTML
Result (notice the missing conditionals)