Still no luck. What version of Hpricot do you have installed?

On Sun, May 9, 2010 at 1:32 PM, Yang Zhang <[email protected]> wrote:

> ndx.html is a very-trimmed-down version of what I was seeing in the
> original http://google.com/ example.
>
> $ cat ndx.html
> <!DOCTYPE html>
> <html>
> <body>
> <textarea>text</textarea>
> <nobr><span>blah</span></nobr>
> <form>form</form>
> <center>center</center>
> </body>
> </html>
>
> $ html2haml ndx.html
> !!!
> %html
>  %body
>    %textarea
>      text
>      </textarea>
>      %nobr/
>    %span blah
>    </nobr>
>    %form
>      form
>      </form>
>      %center
>        center
>        </center>
>
> $ html2haml --version
> Haml/Sass 3.0.0.rc.5 (Classy Cassidy)
>
> On Sun, May 9, 2010 at 4:15 AM, Nathan Weizenbaum <[email protected]>
> wrote:
> > I still can't reproduce. Can you give a minimal example that produces the
> > closing tags and show the full input and output?
> >
> > On Sun, May 9, 2010 at 1:12 AM, Yang Zhang <[email protected]>
> wrote:
> >>
> >> I'm using
> >>
> >> Haml/Sass 3.0.0.rc.5 (Classy Cassidy)
> >>
> >>
> >> On Sat, May 8, 2010 at 1:19 PM, Nathan Weizenbaum <[email protected]>
> >> wrote:
> >> > I can't reproduce this in either stable or master. What version of
> Haml
> >> > are
> >> > you using?
> >> >
> >> > If this is happening, it's a bug. html2haml shouldn't leave in closing
> >> > HTML
> >> > tags, and Haml certainly shouldn't ignore them.
> >> >
> >> > On Sat, May 8, 2010 at 11:33 AM, Yang Zhang <[email protected]>
> >> > wrote:
> >> >>
> >> >> html2haml seems to be inserting closing tags arbitrarily.
> >> >>
> >> >> $ wget -q -O- 'http://google.com/' | html2haml | fgrep '</'
> >> >>      </textarea>
> >> >>        </nobr>
> >> >>        </nobr>
> >> >>          </table>
> >> >>          </form>
> >> >>            </center>
> >> >>
> >> >> Additionally, when I run the result through haml it seems to be
> >> >> ignoring the closing tags. What's the rule for when it does or
> doesn't
> >> >> insert the closing tag, and what's the syntax rule here that lets
> haml
> >> >> ignore the closing tags? I couldn't find any mention of this in the
> >> >> language reference, though it's admittedly somewhat hard to search
> >> >> for.
> >> >>
> >> >> Thanks!
> >> >> --
> >> >> Yang Zhang
> >> >> http://yz.mit.edu/
> >> >>
> >> >> --
> >> >> 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]<haml%[email protected]>
> .
> >> > For more options, visit this group at
> >> > http://groups.google.com/group/haml?hl=en.
> >> >
> >>
> >>
> >>
> >> --
> >> Yang Zhang
> >> http://yz.mit.edu/
> >>
> >> --
> >> 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] <haml%[email protected]>.
> > For more options, visit this group at
> > http://groups.google.com/group/haml?hl=en.
> >
>
>
>
> --
> Yang Zhang
> http://yz.mit.edu/
>
> --
> 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