changeset 718:960e5117e5bf

fix template expressions
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 27 May 2016 14:22:27 -0600
parents 64f9f41cd1bf
children 53fc65ffa65f
files core/src/luan/impl/LuanParser.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/src/luan/impl/LuanParser.java	Mon May 23 19:19:28 2016 -0600
+++ b/core/src/luan/impl/LuanParser.java	Fri May 27 14:22:27 2016 -0600
@@ -396,7 +396,7 @@
 			if( parser.match( "<%=" ) ) {
 				Spaces();
 				Expr exp = new Expr(Val.SINGLE,false);
-				exp.addAll( RequiredExpr(inTemplate) );
+				exp.addAll( RequiredExpr(inTemplate).single() );
 				builder.add(exp);
 				RequiredMatch( "%>" );
 			} else if( parser.match( "<%" ) ) {