Hi, the mentioned work-arounds are perfectly acceptable in my case. Thanks for helping out!
/lasso On 5 Maj, 00:47, Lorin Tackett <[email protected]> wrote: > Yes, HAML does suck at content... but you can always intermix Haml and HTML. > > %p The quick brown fox jumps over the <strong>lazy dog</strong>. > > Not a perfect work-around, but it's what I've done in the past for inline > links and formatting in the middle of a paragraph. I try not to abuse it. I > just wanted to point out that it's possible. > > The :markdown Haml filter is probably the better way to go, though. > > http://haml-lang.com/docs/yardoc/file.HAML_REFERENCE.html#markdown-fi... > > Hope that helps! > > -Lorin > > > > On Tue, May 4, 2010 at 10:33 AM, Nathan Weizenbaum <[email protected]> wrote: > > Check out this blog post: > >http://chriseppstein.github.com/blog/2010/02/08/haml-sucks-for-content > > > On Tue, May 4, 2010 at 7:41 AM, Lars Olsson <[email protected]> wrote: > > >> Hi all! > > >> I've run into one of those seemingly simple problems that really can > >> drive you mad. I'm trying to render a html string like this one > > >> <p>The quick brown fox jumps over the <strong>lazy dog</strong>.</p> > > >> The basic haml code I'm using for this is: > > >> %p > >> The quick brown fox jumps over the > >> %strong lazy dog > >> \. > > >> Now, this renders the punctuation mark on a line of its own (meaning > >> that a space will appear on the page). As this is undesirable, I tried > >> using the > and < modifiers to remove the newline, but that instead > >> gives me another problem. > > >> %p > >> The quick brown fox jumps over the > >> %strong> lazy dog > >> \. > > >> renders > > >> <p> > >> The quick brown fox jumps over the<strong>lazy dog</strong>. > >> </p> > > >> which means I'm now missing a space between 'the' and '<strong>'. > > >> Is there a simple solution to my problem? > > >> Kindly > > >> /lasso > > >> -- > >> 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. > > -- > 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 > athttp://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.
