lib/github/mandoc.rb
def fix_broken_references
				@doc.css(".Xr[href]").each do |el|
					path = File.expand_path el["href"], @path
					unwrap el unless File.exist?(path)
				end
			end
# Remove cross-references that point to missing files
Remove cross-references that point to missing files
Remove cross - references that point to missing files
def fix_broken_references
				@doc.css(".Xr[href]").each do |el|
					path = File.expand_path el["href"], @path
					unwrap el unless File.exist?(path)
				end
			end
def fix_broken_references @doc . css ( ".Xr[href]" ) . each do | el | path = File . expand_path el [ "href" ] , @path unwrap el unless File . exist? ( path ) end end
Remove cross-references that point to missing files
Remove cross - references that point to missing files