Open abratashov opened 10 years ago
I've witnessed same problem, after clicking 'convert' parser removes {{angularjs}} code tags from html and haml section. Probably should be escaped before posting.
I have not had a chance to work on it, and I don't know if the module team will include that support. I have thought about replacing the characters with something it would not strip like
Suggestions and Pull Requests are welcome :)
Thanks
Tom
On Thu, Aug 7, 2014 at 4:00 PM, Stanislav K notifications@github.com wrote:
I've witnessed same problem, after clicking 'convert' parser removes {{angularjs}} code tags from html and haml section. Probably should be escaped before posting.
— Reply to this email directly or view it on GitHub https://github.com/twilson63/html2haml/issues/25#issuecomment-51523732.
Tom Wilson Jack Russell Software Company Division of CareKinesis 494 Wando Park Blvd Mount Pleasant, SC 29464 Phone: 843-606-6484 Mobile: 843-469-5856 Email: tom@jackhq.com Web: http://www.jackhq.com Calendar: http://www.google.com/calendar/embed?src=tom%40jackrussellsoftware.com&ctz=America/New_York http://www.jackhq.com/calendar
This e-mail may contain information that is confidential, privileged or otherwise protected from disclosure by the Health Insurance Portability and Accountability Act (HIPAA) and other state and federal laws. This information is intended only for the individual names above. Any review, use disclosure or dissemination of this material is strictly prohibited. If you receive this information in error, please notify CareKinesis immediately at 888-974-2763 and delete the original at once.
For what it's worth, the Angular tags seem to be preserved when using html2haml from the command line. I copied one of my templates (erb with Angular attributes) into my clipboard and did this (on OS X):
gem install html2haml
pbpaste | html2haml -e --trace --unix-newlines --stdin
All my Angular tags are still there. I've still got plenty of views to convert, so I'll try to submit a pull request for this when I get a chance.
I try to convert html to haml the basic example from http://angularjs.org/ But braces content was removed.
Thanks!