diff --git a/src/QuestPDF.Markdown/ParsedMarkdownDocument.cs b/src/QuestPDF.Markdown/ParsedMarkdownDocument.cs index 6003cd7..5c29f89 100644 --- a/src/QuestPDF.Markdown/ParsedMarkdownDocument.cs +++ b/src/QuestPDF.Markdown/ParsedMarkdownDocument.cs @@ -17,7 +17,7 @@ public class ParsedMarkdownDocument { private readonly MarkdownDocument _document; private readonly ConcurrentDictionary _imageCache = new(); - private static readonly Regex DataUri = new(@"data:image\/.+?;base64,(?.+)", RegexOptions.Compiled); + private static readonly Regex DataUri = new(@"data:image\/.+?;base64,(?.+)", RegexOptions.Compiled, TimeSpan.FromMilliseconds(100)); private static readonly HttpClient HttpClient = new();