"/" only makes comments when it's at the beginning of the line. The same is
true for almost all characters Haml cares about. The only exception is #{}.On Fri, Dec 17, 2010 at 8:59 AM, Andrew Burleson <[email protected]>wrote: > ... wow. Ok, so that does work. > > I thought that the "/" character made everything after that a comment, and > my syntax highlighting indicates as much. Why doesn't that happen when > you're closing a tag? > > > On Dec 17, 2010, at 10:34 AM, Nathan Weizenbaum wrote: > > You can just include "<br />" as part of your text. > > On Thu, Dec 16, 2010 at 9:18 PM, Andrew Burleson <[email protected]>wrote: > >> Here's what I *want* >> >> .fooclass >> This is some text that I want inside this div. <br /> >> Because there's going to be some wrapping going on I want to >> control where line breaks are rendered. <br /> >> >> Now, sticking those br tags doesn't do anything obviously. >> >> If I put >> .fooclass >> Line one goes here >> %br Line two goes here >> %br Line three goes here >> >> ... then it *kinda* works, but it's rendering like this: "<br>Line two >> goes here</br>" ... which is totally bogus. >> >> I can put >> .fooclass >> Line one >> %br/ >> Line Two >> %br/ >> Line Three >> >> ... but I'd hardly call that Markup Haiku!! >> >> There has to be a better way to manually control the rendering of line >> breaks, but I haven't been able to find it. Help?? >> >> -- >> 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. > > > -- > 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.
