method
set_xhtml_uri_as_default_uri
v2_2_9 -
Show latest stable
- Class:
RSS::Maker::AtomTextConstructBase::EnsureXMLContent
set_xhtml_uri_as_default_uri(children)private
No documentation available.
# File lib/rss/maker/base.rb, line 331
def set_xhtml_uri_as_default_uri(children)
children.collect do |child|
if child.is_a?(RSS::XML::Element) and
child.prefix.nil? and child.uri.nil?
RSS::XML::Element.new(child.name, nil, ::RSS::Atom::XHTML_URI,
child.attributes.dup,
set_xhtml_uri_as_default_uri(child.children))
else
child
end
end
end