diff --git a/lib/github_changelog_generator/generator/generator.rb b/lib/github_changelog_generator/generator/generator.rb index e6b4e6f..61e6061 100644 --- a/lib/github_changelog_generator/generator/generator.rb +++ b/lib/github_changelog_generator/generator/generator.rb @@ -41,7 +41,7 @@ module GitHubChangelogGenerator def encapsulate_string(string) string.gsub! '\\', '\\\\' - encpas_chars = %w(> * _ \( \) [ ] #) + encpas_chars = %w(< > * _ \( \) [ ] #) encpas_chars.each do |char| string.gsub! char, "\\#{char}" end diff --git a/lib/github_changelog_generator/generator/generator_fetcher.rb b/lib/github_changelog_generator/generator/generator_fetcher.rb index 16c5e5c..b166922 100644 --- a/lib/github_changelog_generator/generator/generator_fetcher.rb +++ b/lib/github_changelog_generator/generator/generator_fetcher.rb @@ -41,8 +41,8 @@ module GitHubChangelogGenerator threads << Thread.new { find_closed_date_by_commit(issue) } end threads.each(&:join) - puts "Fetching closed dates for issues: Done!" if @options[:verbose] end + puts "Fetching closed dates for issues: Done!" if @options[:verbose] end # Fill :actual_date parameter of specified issue by closed date of the commit, if it was closed by commit.