lib/md2man/rakefile.rb in md2man-2.1.1 vs lib/md2man/rakefile.rb in md2man-3.0.0
- old
+ new
@@ -95,10 +95,10 @@
mkds.zip(webs).each do |src, dst|
render_file_task.call src, dst, lambda {|input|
require 'md2man/html/engine'
output = Md2Man::HTML::ENGINE.render(input).
# deactivate external manual page cross-references
- gsub(/(?<=<a class="md2man-xref") href="\.\.(.+?)"/) do
+ gsub(/(?<=<a class="md2man-reference") href="\.\.(.+?)"/) do
$& if webs.include? 'man' + $1
end
name = parse_manpage_name.call(dst)
info = parse_manpage_info.call(output)