I have a variable "widgetDataHash" (string) and script tag like this:
<script
type="text/javascript"
id="widget"
data-hash="{{widgetDataHash}}"
src="www.widgetsrc.com">
</script>
I want to insert value of widgetDataHash to data-hash attribute like that. But when it run, it just show a normal text {{widgetDataHash}} instead of value of widgetDataHash.
Any solution for this ?