Flowdock
xhtml() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rss/atom.rb, line 111
      def xhtml
        return @xhtml if @xhtml.nil?
        if @xhtml.is_a?(XML::Element) and
            [@xhtml.name, @xhtml.uri] == ["div", XHTML_URI]
          return @xhtml
        end

        children = @xhtml
        children = [children] unless children.is_a?(Array)
        XML::Element.new("div", nil, XHTML_URI,
                         {"xmlns" => XHTML_URI}, children)
      end
Register or log in to add new notes.