Closed Wolfr closed 10 years ago
Hi @Wolfr. -s
option you've used is a shorthand for --scalate
which generates Scalate-variant of Jade syntax which didn't support comma-separated attributes. It's been awhile since I've looked at Scalate so I'm not sure if this is still true or not. Leaving out that option will generate output with comma-separated attributes.
Aha OK, thanks so much!
If I pass the following HTML (split button from Twitter Bootstrap)...
...through HTML2jade with the following options (using a file called test.html)...
...the output contains a syntax error on line 3:
The part where it says "(type='button' data-toggle='dropdown')" should have a comma between the attributes.
The http://html2jade.aaron-powell.com/ version also has problems where the comment in the output does not look right: