RazorEngine icon indicating copy to clipboard operation
RazorEngine copied to clipboard

Image doesn't render

Open zsong opened this issue 3 years ago • 1 comments

Template has something like this

<img src="@String.Format(@"data:image;base64,{0}", Model.ImageInBase64String)" alt="logo" />

Compile() doesn't render image.

zsong avatar Sep 23 '21 16:09 zsong

Just a guess, really - you might have to escape the second "@" somehow.

Brads3290 avatar Oct 17 '21 20:10 Brads3290