Issue #1559 has been updated by formalbridal (formalbridal bridal).


<a href="http://www.formalbridal.co.uk/20-bridesmaid-dresses"><strong>bridesmaid dresses</strong></a> for sale.
----------------------------------------
Bug #1559: ERB single line comment does not work
https://bugs.ruby-lang.org/issues/1559#change-27966

Author: jyzhang (James Zhang)
Status: Rejected
Priority: Normal
Assignee: seki (Masatoshi Seki)
Category: 
Target version: 1.9.1
ruby -v: ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-darwin9.7.0]


=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



-- 
http://bugs.ruby-lang.org/