You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In %img{ src: signature_image_data }, signature_image_data seems to have " but it's wrong, right? It's not the matter of escaping it or not. Please check your signature_image_data implementation first.
Also closing this for inactivity of the original author.
Setup:
I'm using the Signature Pad which has an option to convert a signature into a base64 encoded image.
This is what gets stored in the database:
Outputting the tag in HAML:
I'm using
haml
withrails
and to output the tag I've tried this:But it outputs an escaped version:
This works, but it's not very elegant:
What's the "right" way to do this?
The text was updated successfully, but these errors were encountered: