[Wtr-general] Saving HTML to output adds extra line feeds?
Paul Carvalho
tester.paul at gmail.com
Fri Apr 21 13:51:38 EDT 2006
Thanks for the replies Bill, but neither (write or print) seemed to work for
me. That is, the output still had the extra line feeds.
I decided to try removing the extra line feeds manually and it worked, so
I'll go with that for now:
f_e.puts html_content.delete( 10.chr )
Cheers! Paul.
On 21/04/06, Attebery, Bill <Bill.Attebery at twtelecom.com> wrote:
>
> Paul -- I tried these and they both seemed to do the trick:
>
> f_e.write html_content
> f_e.print html_content
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060421/a145a66f/attachment.html
More information about the Wtr-general
mailing list