Scrubyt and line breaks

C

César Díaz

Hi,

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

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

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
(<br/>), 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 <br/> tags with \n.

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

Thanks a lot.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,740
Latest member
AdolphBig6

Latest Threads

Top