From b590be0226f51dffcec2a729489479f1ee13fa0f Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Mon, 4 May 2020 23:42:58 +0200 Subject: [PATCH] improve text viewer output --- .../fanfix_swing/gui/viewer/ViewerTextOutput.java | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/be/nikiroo/fanfix_swing/gui/viewer/ViewerTextOutput.java b/src/be/nikiroo/fanfix_swing/gui/viewer/ViewerTextOutput.java index 07028809..82f0a97b 100644 --- a/src/be/nikiroo/fanfix_swing/gui/viewer/ViewerTextOutput.java +++ b/src/be/nikiroo/fanfix_swing/gui/viewer/ViewerTextOutput.java @@ -34,7 +34,7 @@ class ViewerTextOutput { @Override protected void writeChapterHeader(Chapter chap) throws IOException { - builder.append(""); + builder.append(""); if (chapterName) { builder.append("

"); @@ -82,12 +82,14 @@ class ViewerTextOutput { builder.append("
"); break; case BLANK: - builder.append("

"); + builder.append("
"); break; case BREAK: - builder.append("

"); - builder.append("* * *"); - builder.append("



"); + // Used to be 7777DD + builder.append("

"); + builder.append("* * *"); + builder.append("

"); + builder.append("
"); break; case QUOTE: builder.append("
"); @@ -103,7 +105,8 @@ class ViewerTextOutput { @Override protected String enbold(String word) { - return "" + word + ""; + // Used to be COLOR='#7777DD' + return "" + word + ""; } @Override -- 2.27.0