We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cce9c8 commit e112b9aCopy full SHA for e112b9a
src/Html2OpenXml/IO/DataUri.cs
@@ -84,7 +84,11 @@ public static bool TryCreate(string uri, out DataUri? result)
84
if (match.Groups["base64"].Length > 0)
85
{
86
// be careful that the raw data is encoded for url (standard %xx hex encoding)
87
+#if NET5_0_OR_GREATER
88
+ string base64 = System.Web.HttpUtility.HtmlDecode(match.Groups["data"].Value);
89
+#else
90
string base64 = HttpUtility.HtmlDecode(match.Groups["data"].Value);
91
+#endif
92
93
try
94
0 commit comments