From e7b87dceb0bd97939bad9e67e790f065d3ce6835 Mon Sep 17 00:00:00 2001 From: Vincent Politzer Date: Fri, 23 Jan 2026 16:18:36 -0800 Subject: [PATCH] Nitpick: correct XHTML tag format in comment --- lib/Epub/Epub/parsers/ChapterHtmlSlimParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Epub/Epub/parsers/ChapterHtmlSlimParser.cpp b/lib/Epub/Epub/parsers/ChapterHtmlSlimParser.cpp index 1d7eba75..0ba165fe 100644 --- a/lib/Epub/Epub/parsers/ChapterHtmlSlimParser.cpp +++ b/lib/Epub/Epub/parsers/ChapterHtmlSlimParser.cpp @@ -125,7 +125,7 @@ void XMLCALL ChapterHtmlSlimParser::startElement(void* userData, const XML_Char* self->boldUntilDepth = std::min(self->boldUntilDepth, self->depth); } else if (matches(name, BLOCK_TAGS, NUM_BLOCK_TAGS)) { if (strcmp(name, "br") == 0) { - // flush word preceding
to currentTextBlock before calling startNewTextBlock + // flush word preceding
to currentTextBlock before calling startNewTextBlock EpdFontFamily::Style fontStyle = EpdFontFamily::REGULAR; if (self->boldUntilDepth < self->depth && self->italicUntilDepth < self->depth) { fontStyle = EpdFontFamily::BOLD_ITALIC;