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?
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?