why adding a simple div to HAML will break the code?
- by Jian Lin
it is quite strange that the following works:
- 1.upto(30) do |i|
= i
%br
but the following won't:
%div this line
- 1.upto(30) do |i|
= i
%br
Isn't the second part just to add a div and let the numbers go into that div?