Actions
Bug #1559
closedERB single line comment does not work
Bug #1559:
ERB single line comment does not work
Description
=begin
In erb you're supposed to be able to do single line comments:
<% # this is a comment %>
However, this does not work in ruby 1.9.1.
Temporary work around is to put the '%>' on a newline:
<% # this comment works in 1.9.1
%>
Please see attached unit test.
=end
Files
Actions