Commit cf122555 authored by jplang's avatar jplang

Strip leading and trailing spaces from subjects (#26388).

Patch by Go MAEDA.

git-svn-id: https://svn.redmine.org/redmine/trunk@16782 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 7cf474c8
...@@ -191,7 +191,7 @@ module Redmine ...@@ -191,7 +191,7 @@ module Redmine
issue_hash = { 'id' => tr.css('td.id > a').text.to_i, issue_hash = { 'id' => tr.css('td.id > a').text.to_i,
'tracker' => tr.css('td.tracker').text, 'tracker' => tr.css('td.tracker').text,
'subject' => tr.css('td.subject> a').text } 'subject' => tr.css('td.subject> a').text.strip }
@changelog_items[cat].push(issue_hash) @changelog_items[cat].push(issue_hash)
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment