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]. For more options, visit this group at http://groups.google.com/group/haml?hl=en.
