This project is archived and is in readonly mode.
Whitespace Bug in Erb Comments in Rails 2.2.2
-
josh
- State changed from new to wontfix
It could be an ERB bug which is a ruby core lib.
We don't really touch anything that ERB does, so I'm not sure how it would brake from 2.1 to 2.2.
-
Jeremy Kemper
A comment with a leading space only worked by accident.
<%# is the only supported ERB comment tag.
-
ijayasin
Jeremy and Joshua,
Thanks for the responses guys.
@Jeremy: I realized that too while taking a closer look at the Ruby/Erb documentation. So I ran a couple of quick-and-dirty tests under Ruby 1.8.6 and 1.8.7 and both of them didn't like the whitespaces, so I'm not sure why it worked under Rails <=2.1.0.
I've already updated my code and removed whitespaces. Hopefully this lil' thread will help others experiencing the same issue. :)
Thanks,
Indika
-
lacewigs
supply in stock and custom lace front wigs, full lace wigs, lace wigs, human hair wigs, remy lace front wigs, cheap wigs, cheap, buy, celebrity
full lace wigs
lace wigs
lace wigs sale
lace front wigs
synthetic front lace wigs
Full Lace Front Wig, Long & Short Hair Wigs: 80% OFF at Celebrity Wigs. We ensure 100% customer satisfaction with our Long & Short Indian Remy Hair Wigs.
cheap wedding dresses
cheap evening dresses
cheap prom dresses
cheap evening dresses
cheap prom dresses -
Ryan Bigg
Automatic cleanup of spam.
-
Ryan Bigg
Automatic cleanup of spam.
-
Jeff Kreeftmeijer
Automatic cleanup of spam.