From b66fb9960e40ed84dbda89f08cc9d5de623f9e0c Mon Sep 17 00:00:00 2001 From: Alex Chesters Date: Sat, 17 Oct 2015 23:57:43 +0100 Subject: [PATCH] Fix for #255 --- ghi | 6 +++--- lib/ghi/formatting.rb | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ghi b/ghi index a19a937..9c0c849 100755 --- a/ghi +++ b/ghi @@ -2225,9 +2225,9 @@ On <%= repo %> EOF message.rstrip! message.gsub!(/(?!\A)^.*$/) { |line| - unless line.empty? - "# #{line}".rstrip - end + # unless line.empty? + "# #{line}".rstrip + # end } message.insert 0, [ issue['title'] || issue[:title], issue['body'] || issue[:body] diff --git a/lib/ghi/formatting.rb b/lib/ghi/formatting.rb index e8db084..3744f95 100644 --- a/lib/ghi/formatting.rb +++ b/lib/ghi/formatting.rb @@ -379,9 +379,9 @@ def format_editor issue = nil EOF message.rstrip! message.gsub!(/(?!\A)^.*$/) { |line| - unless line.empty? - "# #{line}".rstrip - end + # unless line.empty? + "# #{line}".rstrip + # end } message.insert 0, [ issue['title'] || issue[:title], issue['body'] || issue[:body]