lib/md2man/roff.rb in md2man-5.1.1 vs lib/md2man/roff.rb in md2man-5.1.2

- old
+ new

@@ -78,10 +78,11 @@ def list contents, list_type result = [] if list_type == :ordered result << ".nr step#{@ordered_list_id} 0 1" + contents.gsub!(/^\.IP \\n\+\[step_tbd\]$/, ".IP \\n+[step#{@ordered_list_id}]") @ordered_list_id += 1 end result << ".RS\n#{contents}\n.RE\n" result.join("\n") @@ -89,10 +90,10 @@ def list_item text, list_type designator = case list_type when :ordered - "\\n+[step#{@ordered_list_id}]" + "\\n+[step_tbd]" when :unordered "\\(bu 2" end ".IP #{designator}\n#{remove_leading_pp(text).lstrip.chomp}\n"