Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianStehle committed Nov 25, 2024
1 parent 2246579 commit 242cd7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Mjml.Net.PostProcessors/AngleSharpPostProcessor.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using AngleSharp;
using AngleSharp.Css;
using AngleSharp.Css.Parser;
using AngleSharp.Dom;

namespace Mjml.Net;
Expand All @@ -8,7 +9,7 @@ public sealed class AngleSharpPostProcessor : IPostProcessor, INestingPostProces
{
private static readonly IConfiguration HtmlConfiguration =
Configuration.Default
.WithCss()
.WithCss(new CssParserOptions { IsIncludingUnknownDeclarations = true })
.WithRenderDevice(new DefaultRenderDevice { FontSize = -1 })
.Without<ICssDefaultStyleSheetProvider>();

Expand Down

0 comments on commit 242cd7b

Please sign in to comment.