difference between <%= end %> <%= end -%>

Hi,

    I am reffering to "Agile Web Development with Rails 2nd ed B1
21.pdf" As per this book,

    <% 3.downto(1) do |count| -%>
    <%= count %>...<br />
    <% end -%>
    Merry Christmas!

    The minus sign in end will supress the newline. This is not
happening in my case.
I am using ruby 1.8.4 and Rails 1.2.2

What could be the reason?

The generated HTML code should look like this:

3...<br />
2...<br />
1...<br />
Merry Christmas!

If you leave out the minus sign, it should look like this:

3...<br />
2...<br />
1...<br />

Merry Christmas!

Is that what you're seeing, or are you getting something else? Note
that the minus sign only suppresses the literal newline in the
generated HTML code, not the <br /> tag which makes your browser
display a newline when it renders the HTML.

Chris

Though I will keep the minus sign or remove it I am getting the output
as:

3...<br />
2...<br />
1...<br />
Merry Christmas!

Rita.