I've just pushed a fix for this. Thanks for the report.

On Sun, Jun 6, 2010 at 6:42 PM, Matt Martini <[email protected]> wrote:

> There is a problem with html2haml where a div (with id) following a comment
> gets included in the comment when converting from html to haml (using
> html2haml).
>
> Notice how the div "MenuWrapper" becomes part of the "Main Menu" comment.
>
> $ cat comment-div-test.html
> <!-- Main Menu -->
> <div id="MenuWrapper">
>   <div id="Menu">
>     <ul>
>       <li>
>         abc
>       </li>
>       <li>
>         xyz
>       </li>
>     </ul>
>   </div>
> </div>
>
> $ html2haml comment-div-test.html > comment-div-test.haml
>
> $ cat comment-div-test.haml
> / Main Menu#MenuWrapper
>   #Menu
>     %ul
>       %li
>         abc
>       %li
>         xyz
>
>
> $ haml --version
> Haml/Sass 3.0.9 (Classy Cassidy)
>
> Matt
>
> --
> You received this message because you are subscribed to the Google Groups
> "Haml" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected] <haml%[email protected]>.
> For more options, visit this group at
> http://groups.google.com/group/haml?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/haml?hl=en.

Reply via email to