Printig svg from string variable
-
hello, i'm testing jsreport to see if it can fit my needs, i'm trying to make a pdf report, i need to include an svg image, but the image it's generated by another software and stored as blob in the db, so jsreport have this variable {{svg}} that can access, but unfortunately if i just print {{svg}} it will write down the string and it will not elaborate the string as an svg image, any idea on how to do that ?
thanks a lot
-
You probably want to use triple bracket
{{{svg}}}
to avoid handlebars HTML encoding.
-
yes it's working thank you so much.