Skip to content

Commit

Permalink
Merge pull request #53 from christiaanderidder/1.9.0
Browse files Browse the repository at this point in the history
1.9.0
  • Loading branch information
christiaanderidder authored Apr 29, 2024
2 parents c42632e + e285f0d commit 7e42986
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion src/QuestPDF.Markdown/MarkdownRenderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,11 @@ private void ProcessContainerInline(ContainerInline inline, TextDescriptor text)
switch (inline)
{
case LinkInline link:
_textProperties.TextStyles.Push(t => t.FontColor(_options.LinkTextColor).Underline());
_textProperties.TextStyles.Push(t => t
.FontColor(_options.LinkTextColor)
.DecorationColor(_options.LinkTextColor)
.Underline()
);
_textProperties.LinkUrl = link.Url;
_textProperties.IsImage = link.IsImage;
break;
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 @@ -20,7 +20,7 @@

<ItemGroup>
<PackageReference Include="Markdig" Version="0.37.0"/>
<PackageReference Include="QuestPDF" Version="2024.3.1" />
<PackageReference Include="QuestPDF" Version="2024.3.2" />
<PackageReference Include="SkiaSharp" Version="2.88.8" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0"/>
<PackageReference Include="NUnit" Version="4.1.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0"/>
<PackageReference Include="NUnit.Analyzers" Version="4.1.0">
<PackageReference Include="NUnit.Analyzers" Version="4.2.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
Binary file modified tests/QuestPDF.Markdown.Tests/test.pdf
Binary file not shown.

0 comments on commit 7e42986

Please sign in to comment.