Sha256: f603c316221193b67ed200d237e049477a48be8e2fd2c9cfc1d4f793b480bc2c

Contents?: true

Size: 434 Bytes

Versions: 9

Compression:

Stored size: 434 Bytes

Contents

<% define 'Test', :for => Object do %>
  <%iinc%>
	<% expand 'Sub' %>
  <%idec%>
<% end %>

<% define 'Sub', :for => Object do %>
	Sub
	<%# white space after the following end tag but no NL %>
	<%# the bug was triggered when the @output of template loading %>
	<%# was non empty and not terminated by a newline; %>
	<%# without the space after end, the newline above this %>
	<%# define block would be the last character %>
<% end %> 

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rgen-0.10.2 test/template_language_test/templates/indent_nonl_at_eof_test/test.tpl
rgen-0.10.0 test/template_language_test/templates/indent_nonl_at_eof_test/test.tpl
rgen-0.9.1 ./test/template_language_test/templates/indent_nonl_at_eof_test/test.tpl
rgen-0.8.3 test/template_language_test/templates/indent_nonl_at_eof_test/test.tpl
rgen-0.8.4 test/template_language_test/templates/indent_nonl_at_eof_test/test.tpl
rgen-0.9.0 test/template_language_test/templates/indent_nonl_at_eof_test/test.tpl
rgen-0.8.2 test/template_language_test/templates/indent_nonl_at_eof_test/test.tpl
rgen-0.8.1 test/template_language_test/templates/indent_nonl_at_eof_test/test.tpl
rgen-0.8.0 test/template_language_test/templates/indent_nonl_at_eof_test/test.tpl