You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we are iterating over the children of an element, the suppressempty option should do so if the child has no attributes.
element.each_element { |child|
value = collapse(child)
- if empty(value) && (element.attributes.empty? || @options['noattr'])+ if empty(value) && (child.attributes.empty? || @options['noattr'])
next if @options.has_key?('suppressempty') && @options['suppressempty'] == true
end
result = merge(result, child.name, value)
}
The text was updated successfully, but these errors were encountered:
If we are iterating over the children of an element, the
suppressempty
option should do so if the child has no attributes.The text was updated successfully, but these errors were encountered: