-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't work with Angular 2 template syntax #116
Comments
This is related to #102 and share root cause: DOM parser used (jsdom) either did not or does not preserve case. |
Hi @donpark, oh I see jsdom-little isn't updated from 2 years :/ Do you have any plan to solve this? Changing the DOM parser or something like this? Oh and sorry for duplicate issues, I made a search but didn't found that one. |
@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? |
@desaroger a complete re-write is on the way. I will revisit this issue when I get there. Thank you for reporting it. |
@aichholzer Thanks, happy to see a resolution for this issue as I use html2jade all the time, and just now getting into Angular2 with case-sensitive dom elements. Thanks! |
Same with ngModel |
Angular 2 makes use of case-sensitive attributes.
For this test I have this html:
If I run:
I get:
As you can see, now the attribute routerLink is in lowercase, routerlink, and doesn't work anymore with Angular.
I tried with
-s
and--donotencode
, same results.The text was updated successfully, but these errors were encountered: