Trim details to allow incomplete parts in HTML
authorNiki Roo <niki@nikiroo.be>
Fri, 23 Mar 2018 22:31:22 +0000 (23:31 +0100)
committerNiki Roo <niki@nikiroo.be>
Fri, 23 Mar 2018 22:31:22 +0000 (23:31 +0100)
src/be/nikiroo/gofetch/data/Story.java

index 5944beccc56104692ad31bf1f1f3fd1fe01b8d52..c0719d2d6b43bcd6812984fa7a59f8b2a8ea8306 100644 (file)
@@ -102,7 +102,7 @@ public class Story {
                if (this.details != null && !this.details.trim().isEmpty())
                        details += "\n" + this.details;
 
-               return details;
+               return details.trim();
        }
 
        /**