lib/github/mandoc.rb
def fix_synopses
				table = @doc.at_css("table.Nm")
				@doc.css("table.Nm ~ table.Nm > tr").each do |row|
					row.parent.remove
					table.add_child row
				end
				@doc.css("table.Nm > tr > td:first-child").each { |el| el.name = "th" }
				@doc.css("table.Nm > tr > *").each { |el| el["valign"] = "top" }
			end
# Merge synopsis tables and use <th> where appropriate
Merge synopsis tables and use  where appropriate
Merge synopsis tables and use where appropriate
def fix_synopses
				table = @doc.at_css("table.Nm")
				@doc.css("table.Nm ~ table.Nm > tr").each do |row|
					row.parent.remove
					table.add_child row
				end
				@doc.css("table.Nm > tr > td:first-child").each { |el| el.name = "th" }
				@doc.css("table.Nm > tr > *").each { |el| el["valign"] = "top" }
			end
def fix_synopses table = @doc . at_css ( "table.Nm" ) @doc . css ( "table.Nm ~ table.Nm > tr" ) . each do | row | row . parent . remove table . add_child row end @doc . css ( "table.Nm > tr > td:first-child" ) . each { | el | el . name = "th" } @doc . css ( "table.Nm > tr > *" ) . each { | el | el [ "valign" ] = "top" } end
Merge synopsis tables and use <th> where appropriate
Merge synopsis tables and use <th > where appropriate