Recognize css pre elements

This commit is contained in:
jpirnay
2026-03-28 16:47:55 +01:00
parent 5b43639f98
commit 7f6933ab22
3 changed files with 542 additions and 164 deletions
@@ -32,6 +32,7 @@ class ChapterHtmlSlimParser {
int boldUntilDepth = INT_MAX;
int italicUntilDepth = INT_MAX;
int underlineUntilDepth = INT_MAX;
int preUntilDepth = INT_MAX;
// buffer for building up words from characters, will auto break if longer than this
// leave one char at end for null pointer
char partWordBuffer[MAX_WORD_SIZE + 1] = {};