Node.content= takes text, not more nodes. Try using Node.inner_html =
instead.
Walter
On Feb 24, 2011, at 11:12 PM, Wes Gamble wrote:
This doesn't work - when I write this back out to a file the <span> is
escaped.
Perhaps I should have mentioned that I needed to re-serialize the
resulting HTML.
Wes
--
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 rubyonrails-
[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
.
--
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.