Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
christiaanderidder committed Nov 8, 2024
2 parents edafeda + 14e67c0 commit 7723e30
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/QuestPDF.Markdown/MarkdownRenderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,8 @@ private void ProcessLeafInline(LeafInline inline, TextDescriptor text)
break;
case LineBreakInline lineBreak:
// Only add a line break within a paragraph if trailing spaces or a backslash are used.
if(lineBreak.IsBackslash || lineBreak.IsHard) text.Span("\n");
if (lineBreak.IsBackslash || lineBreak.IsHard) text.Span("\n");
else text.Span(" ");
break;
case TaskList task:
text.Span(task.Checked ? _options.TaskListCheckedGlyph : _options.TaskListUncheckedGlyph)
Expand Down
2 changes: 1 addition & 1 deletion src/QuestPDF.Markdown/QuestPDF.Markdown.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<ItemGroup>
<PackageReference Include="Markdig" Version="0.38.0"/>
<PackageReference Include="QuestPDF" Version="2024.10.2" />
<PackageReference Include="SkiaSharp" Version="2.88.8" />
<PackageReference Include="SkiaSharp" Version="2.88.9" />
</ItemGroup>

<ItemGroup>
Expand Down
Binary file modified tests/QuestPDF.Markdown.Tests/test.pdf
Binary file not shown.

0 comments on commit 7723e30

Please sign in to comment.