Filter "text" is not defined. ?
On Aug 21, 2:09 pm, Rhett Sutphin <[EMAIL PROTECTED]> wrote: > On Aug 21, 2008, at 3:53 PM, BigFisch wrote: > > > How would you put the follwing in a %code tag without haml freaking > > out? > > > - div_for snippet do > > %h2= link_to snippet.title, snippet > > > = preserve(snippet.cached_highlighted_body) > > > - if controller.action_name == 'index' > > %span.js_link.small.expand Toggle size > > > = link_to 'View More', snippet > > One way might be: > > %pre > :text > - div_for snippet do > %h2 etc > > (not tested) > > Rhett --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
