From: Niki Roo Date: Fri, 23 Mar 2018 22:31:22 +0000 (+0100) Subject: Trim details to allow incomplete parts in HTML X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=6a4d14166b93ceb49db09053b9a4cb09703fdea2;p=gofetch.git Trim details to allow incomplete parts in HTML --- diff --git a/src/be/nikiroo/gofetch/data/Story.java b/src/be/nikiroo/gofetch/data/Story.java index 5944bec..c0719d2 100644 --- a/src/be/nikiroo/gofetch/data/Story.java +++ b/src/be/nikiroo/gofetch/data/Story.java @@ -102,7 +102,7 @@ public class Story { if (this.details != null && !this.details.trim().isEmpty()) details += "\n" + this.details; - return details; + return details.trim(); } /**