https://bugs.kde.org/show_bug.cgi?id=313237

--- Comment #8 from Thomas Baumgart <ipwiz...@users.sourceforge.net> ---
Christian writes: "The added line breaks are removed after evaluation of the
regexp". I don't currently see where this happens. Maybe, you can point me in
the right direction. Nevertheless, changing the string will certainly change
the hash that is used for duplicate detection. So adding it as simple as
proposed in comment 6 might cause trouble for users. Changing

  h = MyMoneyTransaction::hash(s.trimmed(), h);

into

  h = MyMoneyTransaction::hash(s.replace("\n", " ").trimmed(), h);

could solve this problem. Please give it a try.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
KMyMoney-devel mailing list
KMyMoney-devel@kde.org
https://mail.kde.org/mailman/listinfo/kmymoney-devel

Reply via email to