On 9/17/07, AtsoK <[EMAIL PROTECTED]> wrote:
>
>
> When I call "- sayhello()" it actually outputs "%b hello" to the
> browser, instead of a bold hello.


You misunderstood how Haml processing works. Haml templates aren't that
dynamic: the only Haml source that is being processed is the one found in
the template, not that echoed or returned by runtime PHP code (- or =
lines).

Workaround: use "<b>Hello</b>".

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to