Fix formatting issue

This commit is contained in:
Vincent Politzer 2026-01-23 16:04:33 -08:00
parent ebbe846567
commit 9c9ae79acb

View File

@ -138,7 +138,7 @@ void XMLCALL ChapterHtmlSlimParser::startElement(void* userData, const XML_Char*
self->partWordBuffer[self->partWordBufferIndex] = '\0';
self->currentTextBlock->addWord(self->partWordBuffer, fontStyle);
self->partWordBufferIndex = 0;
self->startNewTextBlock(self->currentTextBlock->getStyle());
} else {
self->startNewTextBlock((TextBlock::Style)self->paragraphAlignment);