Don Park

Results 57 comments of Don Park

As you probably know tag and attribute names are case-insensitive in HTML and common convention is to use lower-case which got slipped into html2jade at some point for reasons I...

@pdeva it turns out lowercasing of attribute name is done at DOM layer before html2jade sees them which means html2jade will have to either use HTML parser directly or find...

Just remembered that Angular uses two forms for attributes: dashed (like ng-model) and camelcased (like ngModel), later form intended for use in JavaScript. Since I can't address this issue at...

do you have a link to an official doc saying that? I haven't been able to find any. - Don

thx for the example @tb but as I wrote above html2jade uses DOM API to support client-side generated HTML and thus only sees DOM normalized lowercased attribute names so this...

Hi all. I've noticed that [jsdom](https://github.com/jsdom/jsdom) now supports `xml` parsing mode, enabling case-sensitivity, but my simple attempt to upgrade the module turned sour fast due to how much node and...

This is related to #102 and share root cause: DOM parser used (jsdom) either did not or does not preserve case.

@desaroger well, this issue calls for a major change which will very likely disturb existing users so I think it's best to fork. @aichholzer any plan to address this issue?

Thanks for the heads up. This is what my plan is going forward. 1. keep html2jade as-is for users still using jade as-is. 2. consider creating html2pug module for pug...