in an haml attribute like title, this works:
%p{ title: %{foo(#{some_local_variable})} }
and this as well:
%p{ title: "foo(#{some_local_variable})" }
but this does not:
%p{ title: %(foo(#{some_local_variable})) }
this raises:
(eval):1: unterminated string meets end of file
%(foo(#)
^
imho all examples are right syntax
in an haml attribute like title, this works:
%p{ title: %{foo(#{some_local_variable})} }and this as well:
%p{ title: "foo(#{some_local_variable})" }but this does not:
%p{ title: %(foo(#{some_local_variable})) }this raises:
(eval):1: unterminated string meets end of file
%(foo(#)
^
imho all examples are right syntax