From: James Zhang Date: 2009-06-03T13:20:00+09:00 Subject: [ruby-core:23682] [Bug #1559] ERB single line comment does not work Bug #1559: ERB single line comment does not work http://redmine.ruby-lang.org/issues/show/1559 Author: James Zhang Status: Open, Priority: Normal Target version: 1.9.1 ruby -v: ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-darwin9.7.0] 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. ---------------------------------------- http://redmine.ruby-lang.org