Skip to content

Commit 7d7e857

Browse files
committed
Fix style
1 parent b65bd09 commit 7d7e857

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Libs/PdfSharpLib/HtmlPdfGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public Task GenerateAsync(string text, string filename, CancellationToken cancel
1111
{
1212
using var pdf = new PdfDocument();
1313
var html = $"<h1 style=\"font-size:100px;color:blue;\">{text}</h1>";
14-
HtmlRendererCore.PdfGenerator.AddPdfPages(pdf, html , PageSize.A4);
14+
HtmlRendererCore.PdfGenerator.AddPdfPages(pdf, html, PageSize.A4);
1515
pdf.Save(filename);
1616
return Task.CompletedTask;
1717
}

0 commit comments

Comments
 (0)