M
Mark Volkmann
I had the following in a .rhtml file that I was using for a Rails view.
The time in one hour will be <%=3D 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 <%=3D 1.hour.from_now %-->
It complains that I have an unterminated string.
Does ERb not know how to parse HTML comments?
--=20
R. Mark Volkmann
Partner, Object Computing, Inc.
The time in one hour will be <%=3D 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 <%=3D 1.hour.from_now %-->
It complains that I have an unterminated string.
Does ERb not know how to parse HTML comments?
--=20
R. Mark Volkmann
Partner, Object Computing, Inc.