1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-23 08:51:13 +00:00

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

Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@16782 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2017-07-09 07:23:44 +00:00
parent 2350d493b8
commit c781bfb443

View File

@ -191,7 +191,7 @@ module Redmine
issue_hash = { 'id' => tr.css('td.id > a').text.to_i,
'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)
end
end