From ac09455512f9378dcd1cd130d2188291f17b857d Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Thu, 17 Jan 2019 02:04:01 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=BA?= =?UTF-8?q?=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/components/Reader/share/BookParser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/components/Reader/share/BookParser.js b/client/components/Reader/share/BookParser.js index 8c3ee874..4318a0e9 100644 --- a/client/components/Reader/share/BookParser.js +++ b/client/components/Reader/share/BookParser.js @@ -364,7 +364,7 @@ export default class BookParser { } line.parts.push({style: '', text: prevPart}); - line.end = line.begin + prevPart.length;//нет -1 !!! + line.end = line.begin + prevPart.length - (wordTail != word ? 2 : 0);//это как, ы ? 2 и 0 line.width = prevW; line.first = (j == 0); line.last = false;