fix txt export (paragraph problems)

This commit is contained in:
2025-12-06 22:29:20 +03:00
parent 18a338c2ce
commit 9294399517
2 changed files with 118 additions and 62 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ class Chapter {
VALUES (?, ?, ?, ?, ?, ?, NOW(), NOW())
");
$word_count = str_word_count(strip_tags($data['content']));
$word_count = $this->countWords($data['content']);
return $stmt->execute([
$data['book_id'],