Hello,
Is there a way to generate text for a filter using ruby in a haml
file? The following snippets do not generate one body of text that
gets fed into textile.
:textile
- (1..2).each do |i|
* #{i}
- (1..2).each do |i|
:textile
* #{i}
Or, is the idea that you would need a ruby helper function that
generates the textile text to be fed into the textile filter:
:textile
#{generate_textile_text}
Thanks,
hhh
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---