From 71404d4a0e4ab9e96ace7ca7c9f9bf63ccf47212 Mon Sep 17 00:00:00 2001 From: requinDr Date: Fri, 4 Feb 2022 10:21:38 +0100 Subject: [PATCH] Fix for missing pipes --- src/main/java/fr/fatestaynight/packager/PageFetcher.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/fr/fatestaynight/packager/PageFetcher.java b/src/main/java/fr/fatestaynight/packager/PageFetcher.java index cdef661..0db45a8 100644 --- a/src/main/java/fr/fatestaynight/packager/PageFetcher.java +++ b/src/main/java/fr/fatestaynight/packager/PageFetcher.java @@ -49,8 +49,8 @@ public String fetchText(String language) { public static String lectureFichier(String nomFichier, int pageNum, String language, Charset charset) throws IOException { String fullName = language + "/" + nomFichier; - String pageStart = "*page" + (pageNum -1) + "|"; - String pageEnd = "*page" + pageNum + "|"; + String pageStart = "*page" + (pageNum -1); + String pageEnd = "*page" + pageNum; String content = ""; String line;