Community
Participate
Working Groups
There are a few trailing lines after the comment the results from attachments.
Done.
Created attachment 104218 [details] mylyn/context/zip
I'm still seeing the new lines (e.g. on this same bug). Invoking trim() in SaxMyltiBugReportContentHandler only removed spaces. I believe removing trailing new lines was handled in the old code. Maybe the old functionality can be ported (or reimplemented as this should be trivial)?
Created attachment 104798 [details] patch With this patch
Created attachment 104799 [details] mylyn/context/zip
Created attachment 105119 [details] fix
Created attachment 105120 [details] mylyn/context/zip
Rob, please take a look at the patch.
Committed
I am not seeing new lines after attachment comments. Has this been fixed as well?
Great that we fixed this for comments, remaining work is to check it for attachments.
(In reply to comment #11) > Great that we fixed this for comments, remaining work is to check it for > attachments. attachment (id=104798) has a fix for all attributes. The trim removes only spaces from beginning and the end of the text. With the few lines that I added all whitspaces are removed from the end of the string. So the trim only removes space from the start of the string.
Lets keep this localized to task comments for now since we don't know implications of stripping whitespace from others. If we find a need for cleaning up the other attributes we can revisit this.