From 21cffe6a92f0044b8730f806820fcb0d40760a66 Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Sun, 12 Apr 2020 12:01:42 +0200 Subject: [PATCH] Tell the truth in this comment --- lib/github_changelog_generator/generator/section.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/github_changelog_generator/generator/section.rb b/lib/github_changelog_generator/generator/section.rb index 49e2c00dc..3ef3b879c 100644 --- a/lib/github_changelog_generator/generator/section.rb +++ b/lib/github_changelog_generator/generator/section.rb @@ -20,7 +20,7 @@ def initialize(opts = {}) # Returns the content of a section. # - # @return [String] Generate section content + # @return [String] Generated section content def generate_content content = "" @@ -60,7 +60,7 @@ def issue_line_with_body(line, issue) # get issue body till first line break body_paragraph = body_till_first_break(issue["body"]) - # remove spaces from begining and end of the string + # remove spaces from beginning of the string body_paragraph.rstrip! # encapsulate to md encapsulated_body = "\s\s\n" + encapsulate_string(body_paragraph)