Fixed rendering spaces, fixed text alignment

This commit is contained in:
Marcin Ziąbek
2021-09-12 21:01:10 +02:00
parent e2774ef347
commit 22401be791
4 changed files with 94 additions and 41 deletions
+2 -2
View File
@@ -92,8 +92,8 @@ namespace QuestPDF.Examples
var lineFrom = chapterPointers[index];
var lineTo = chapterPointers[index + 1] - 1;
var lines = book.Skip(lineFrom + 1).Take(lineTo - lineFrom).Where(x => !string.IsNullOrWhiteSpace(x))
var lines = book.Skip(lineFrom + 1).Take(lineTo - lineFrom).Where(x => !string.IsNullOrWhiteSpace(x));
var content = string.Join(Environment.NewLine, lines);
yield return new BookChapter