mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-23 00:41:14 +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:
parent
2350d493b8
commit
c781bfb443
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user