Fix crash
This commit is contained in:
@@ -402,9 +402,7 @@ void XMLCALL ChapterHtmlSlimParser::startElement(void* userData, const XML_Char*
|
|||||||
self->flushPartWordBuffer();
|
self->flushPartWordBuffer();
|
||||||
}
|
}
|
||||||
if (self->currentTextBlock && !self->currentTextBlock->isEmpty()) {
|
if (self->currentTextBlock && !self->currentTextBlock->isEmpty()) {
|
||||||
self->makePages();
|
self->startNewTextBlock(BlockStyle());
|
||||||
self->currentTextBlock.reset();
|
|
||||||
self->wordsExtractedInBlock = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create page for image - only break if image won't fit remaining space
|
// Create page for image - only break if image won't fit remaining space
|
||||||
|
|||||||
Reference in New Issue
Block a user