Scrubyt and line breaks

Hi,

I’m trying to get a portion of text from a web page using Scrubyt. The
portion is like this:

I don't feel like I'm at home
In the morning all alone
Trying hard to do the things I know I should
When the night time closes in
And the loneliness begins
I believe you'd want to be here if you could

I haven’t got any problem getting the content of that div. The problem
is that after getting it, it seems that Scrubyt deletes the line breaks
(
), so I get that content all in the same line. I have tried with
some other similar pages, and what I get was the same text but replacing
the
tags with \n.

Anyone knows the reason of this strange behaviour? Any idea?

Thanks a lot.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs