Browse Source

Fixed typo

MarcinZiabek 3 years ago
parent
commit
28743a81d1

+ 1 - 1
QuestPDF/Elements/Text/Items/TextBlockSectionlLink.cs → QuestPDF/Elements/Text/Items/TextBlockSectionLink.cs

@@ -3,7 +3,7 @@ using QuestPDF.Infrastructure;
 
 
 namespace QuestPDF.Elements.Text.Items
 namespace QuestPDF.Elements.Text.Items
 {
 {
-    internal class TextBlockSectionlLink : TextBlockSpan
+    internal class TextBlockSectionLink : TextBlockSpan
     {
     {
         public string SectionName { get; set; }
         public string SectionName { get; set; }
         
         

+ 1 - 1
QuestPDF/Fluent/TextExtensions.cs

@@ -193,7 +193,7 @@ namespace QuestPDF.Fluent
             if (IsNullOrEmpty(text))
             if (IsNullOrEmpty(text))
                 return descriptor;
                 return descriptor;
             
             
-            AddItemToLastTextBlock(new TextBlockSectionlLink
+            AddItemToLastTextBlock(new TextBlockSectionLink
             {
             {
                 Style = style,
                 Style = style,
                 Text = text,
                 Text = text,