0

I want have output in 1 row text:

<A><d>n</d>Im newspaper text</A>

I used

xml.A { |t| t.d "n"; t.text! advert.newspaper_text }

In this case i have output:

<A>
  <d>n</d>
  Im newspaper text
</A>

How i can do it?

Nkey
  • 41
  • 1
  • 1
  • 6

0 Answers0