I am trying to parse a string to html in handlebars.
Example:
in .js
file
let url = 'http://google.com';
let textref = `<a href=${url}>Click here</a>`
in .hbs
file
{{textref}}
Expected output :
Click here
text holding the hyperlink
Actual output
: <a href=http://google.com>Click here</a>
Actual output is the string instead of text reference holding the hyperlink.