Skip to content

Commit

Permalink
Merge pull request #18 from rderoldan1/develop
Browse files Browse the repository at this point in the history
#17 Fix encoding bug
  • Loading branch information
Murat Kemal BAYGÜN committed Sep 3, 2013
2 parents 7d62c87 + 081a185 commit 3b25646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/katip
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def parse_change_log

output.each do |line|

line.gsub!(/#[1-9][0-9]*/) {|s| '[' + s + "](#{ISSUE_URL}" + s[-(s.length-1)..-1] + ')'}
line.encode("utf-8", invalid: :replace, undef: :replace, replace: '').gsub!(/#[1-9][0-9]*/) {|s| '[' + s + "](#{ISSUE_URL}" + s[-(s.length-1)..-1] + ')'}

end

Expand Down

0 comments on commit 3b25646

Please sign in to comment.