❔ Blazor - MarkupString rendering <img> tag w/ base64 image encoding as text
As can be seen in the dev tools, there are quotation marks around the <img> tag when rendered in-browser. I checked HttpUtility.HtmlEncode and it's not adding the quotes, so I think the MarkupString is. Does anyone know how to fix this?
2 Replies
(the second to last image is what shows up in the browser)
Looks like the htmlencode is actually breaking it, I took that out and now it's working.
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.