Hi,

If I do this in one paragraph:

val name = "Bob"
println(s"%html <h3>Hello $name</h3>")

I get this result:
name: String = Bob
%html <h3>Hello $name</h3>

I wasn't expecting that!  But if I move the println statement to a second 
paragraph and run it then I get the heading "Hello Bob" that I intended.

It appears that variables defined in the same paragraph as the %html directive 
are not visible to %html.  Is this by design or a bug please?
Thanks,
Lucas.

Reply via email to