Hi there,
If I want to make the title of a page parameterised, I can do this:
<def tag="test">
<html>
<head>
<title param/>
</head>
</html>
</def>
followed by
<test>
<title:>Title set successfully!</title:>
</test>
Cool.
But what I really wanted to do was this:
<test title="Title set successfully"/>
So I did this with my tag:
<def tag="test" attrs="title">
<html>
<head>
<title>#{title}</title>
</head>
</html>
</def>
And #{title} does not get interpolated.
#{title} will be interpolated if its used like this:
<title class="#{title}">
for example, but not when its the "innerHTML", so to speak, of a tag.
Is this intentional? I am totally new to hobo, and I find this
behaviour surprising.
Thanks all,
Mike
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo
Users" 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/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---