Skip to content

Commit 0d699af

Browse files
committed
1 parent 355c4e4 commit 0d699af

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/rdoc/markup/to_markdown.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def accept_verbatim verbatim
131131
@res << part
132132
end
133133

134-
@res << "\n" unless @res =~ /\n\z/
134+
@res << "\n"
135135
end
136136

137137
##

lib/rdoc/markup/to_rdoc.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def accept_verbatim verbatim
234234
@res << part
235235
end
236236

237-
@res << "\n" unless @res =~ /\n\z/
237+
@res << "\n"
238238
end
239239

240240
##

0 commit comments

Comments
 (0)