> What about xml.text! "-122...\n" ?

I'm having an extra problem now, I'm doing this:
xml.Data 'ss:Type' => 'String' do
  xml.text! format_excel_html(block_content)
end

Now it works, but the output is like this:
<Data>
bla bla bla
</Data>

The problem I have is the whitespace the builder creates around my 
content. Does anyone know a trick to get rid of this whitespace?

Thanks, Onno
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to