twilson63 / html2haml

Convert HTML Snippets to Haml
http://html2haml.heroku.com
MIT License
180 stars 82 forks source link

Problem with application.html.erb and <nav> tags #5

Closed JESii closed 13 years ago

JESii commented 13 years ago

Hi...

I recently switched to Haml and used html2haml to convert my existing views. I also converted my existing application.html.erb file, but ran into a problem. The %ul entries under the %nav entry were not properly indented, so the

twilson63 commented 13 years ago

Hello,

Thanks again for using html2haml.

If you could send a full html example, I will be glad to test and fix, what browser are you using?

Thanks

Tom

On Thu, May 19, 2011 at 3:48 PM, JESii < reply@reply.github.com>wrote:

Hi...

I recently switched to Haml and used html2haml to convert my existing views. I also converted my existing application.html.erb file, but ran into a problem. The %ul entries under the %nav entry were not properly indented, so the

Tom Wilson Jack Russell Software Company LLC 1067 Cliffwood Drive Mount Pleasant, SC 29464 Phone: 843-606-0637 Email: tom@jackhq.com Web: http://www.jackhq.com Calendar: http://www.jackhq.com/calendar

twilson63 commented 13 years ago

I just tried

<nav class="round">
<ul>
<li>1</li>
</ul>
</nav>

and got

%nav.round
  %ul
    %li 1

If you can provide a sample, I would love to take a stab at why it is not working.

Thx

Tom

JESii commented 13 years ago

Will definitely get you a sample; I was slammed today and need to be on the right computer to get them to you, both input and output.

Cheers...jon

----- Original Message ----- From: "twilson63" reply@reply.github.com To: jseidel@edpci.com Sent: Thursday, May 19, 2011 6:55 PM Subject: Re: [html2haml] Problem with application.html.erb and

JESii commented 13 years ago

Hi, Tom... Sorry it took me so long to get back to you. I've attached the two files: input and output from the conversion... let me know what else I can do to help you on this one...

What I did was the following command just now: html2haml application.html.erb_save > application.html.haml_save

Thanks...jon

Jon Seidel, CMC EDP Consulting, Inc. / www.edpci.com / www.4mypasswords.com Effective Decisions... Priceless! LinkedIn Profile Technology that means Business - Since 1979 3373 Guido Street Oakland, CA 94602 phone: 510-530-6314 fax: 510-531-1522

The Certified Management Consultant (CMC) mark is awarded to consultants who meet the strict standards defined by the Institute of Management Consultants USA (an ISO/IEC 17024:2003 Certifying Body), including examination by their peers, client evaluations, and a written examination evidencing their understanding of the IMC USA's Code of Ethics. The CMC is the only consulting certification that has been ISO-accredited and recognized by the insurance industry as reducing risk. Check out IMC USA for more information.

On May 20, 2011, at 6:12 AM, Jon Seidel CMC wrote:

Jon Seidel, CMC Effective Decisions... Priceless!

-----Original Message----- From: twilson63 [mailto:reply@reply.github.com] Sent: Thursday, May 19, 2011 6:55 PM To: jseidel@edpci.com Subject: Re: [html2haml] Problem with application.html.erb and

twilson63 commented 13 years ago

Hey Jon

Files did not come through, could you e-mail them to me (tom at jackhq.com)

Thanks

TOm

twilson63 commented 13 years ago

Not an issue on html2haml.heroku.com