[Snowman] Is it possible to escape nested <%=?

<%      s.a = "test"    %>
<%      s.b = "This is a <%= s.a %>"    %>
<%=     s.b     %>

This code gives the following error message: SyntaxError: “” string literal contains an unescaped line break

Is it possible to escape the <%= inside the s.b string, so that the code correctly prints “This is a test”?

Thanks!

Have you tried escaping the closing tag within the quoted string? E.g.,

<%      s.b = "This is a <%= s.a \%\>"    %>

Untested.

It doesn’t work. But never mind! A bit after you answered the question, I found a way of preventing the problem to show up, while actually improving my code. So thanks a lot, and please don’t worry about it!