I'm using phpHaml (http://phphaml.sf.net) to use Haml with my PHP
projects, and I've gotten it to work correctly; however, if I use a
function that echo's Haml code, it interprets it as actual text. For
example:
function sayhello() { echo '%b hello'; }
When I call "- sayhello()" it actually outputs "%b hello" to the
browser, instead of a bold hello. I changed the echo to a return, and
changed the - to a = in the haml file, with no change. I couldn't find
discussions for phphaml, so I hope it's fine posting this here.
Thanks for the 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]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---