From a8a7222faea33867e416f2bf5cbb91378b1c2fbe Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Sun, 17 May 2020 22:36:33 +0200 Subject: [PATCH] fix e621 descriptions --- src/be/nikiroo/fanfix/supported/E621.java | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/src/be/nikiroo/fanfix/supported/E621.java b/src/be/nikiroo/fanfix/supported/E621.java index adf8d28..a566017 100644 --- a/src/be/nikiroo/fanfix/supported/E621.java +++ b/src/be/nikiroo/fanfix/supported/E621.java @@ -81,15 +81,20 @@ class E621 extends BasicSupport { protected String getDesc() throws IOException { if (isSearchOrSet(getSource())) { StringBuilder builder = new StringBuilder(); + builder.append("
"); builder.append("A collection of images from ") - .append(getSource().getHost()).append("\n") // - .append("\tTime of creation: " + .append(getSource().getHost()) // + .append("
\n") // + .append("    Time of creation: " + StringUtils.fromTime(new Date().getTime())) - .append("\n") // - .append("\tTags: ");// + .append("
\n") // + .append("    tTags: ");// for (String tag : getTags()) { - builder.append("\t\t").append(tag); + builder.append( + "\n
        ") + .append(tag); } + builder.append("\n
"); return builder.toString(); } @@ -97,7 +102,7 @@ class E621 extends BasicSupport { if (isPool(getSource())) { Element el = getSourceNode().getElementById("description"); if (el != null) { - return el.text(); + return el.html(); } } -- 2.27.0