This looks like the correct behavior to me. The HTML comment should
have no effect on whether the Ruby code is executed, IMO.

On 8/21/05, Mark Volkmann <r.mark.volkmann / gmail.com> wrote:
> I had the following in a .rhtml file that I was using for a Rails view.
> 
> The time in one hour will be <%= 1.hour.from_now %>
> 
> This worked fine.  Then I decided I wanted to comment that out
> temporarily so I changed the line to this.
> 
> <!-- The time in one hour will be <%= 1.hour.from_now %-->
> 
> It complains that I have an unterminated string.
> 
> Does ERb not know how to parse HTML comments?