sunng87 / handlebars-rust

Rust templating with Handlebars
MIT License
1.26k stars 137 forks source link

png as base64 dataurl #653

Closed danielclough closed 2 months ago

danielclough commented 3 months ago

When I include a dataurl it is removed in the final html.

E.g.

<img src="data:image/png;base64,iVBORw0KG...ggg==" alt="alt text" />    

Turns into:

<img alt="alt text" />    

Is there a way to include images in this way?

Thank You

sunng87 commented 3 months ago

Can you provide more context with your data and your template?

danielclough commented 2 months ago

I will make a minimal repro when I have a moment.

danielclough commented 2 months ago

While creating the min repro I found my problem.

Thank you for the awesome project!