lib/github/mandoc.rb
# Remove tags that pointlessly enclose another of the same type
Remove tags that pointlessly enclose another of the same type
Remove tags that pointlessly enclose another of the same type
def fix_double_nested_tags(names)
				names.each do |name|
					until (nested = @doc.css("#{name} #{name}")).empty?
						nested.each { |el| unwrap(el) }
					end
				end
			end
def fix_double_nested_tags ( names ) names . each do | name | until ( nested = @doc . css ( "#{name} #{name}" ) ) . empty? nested . each { | el | unwrap ( el ) } end end end
Remove tags that pointlessly enclose another of the same type
Remove tags that pointlessly enclose another of the same type
names