Adding bold text in handlebars parameters

Hey! I’m trying to set up a handlebars partial to take care of an increasingly large number of targeted landing pages. I’d like to have a parameter for the copy, and I’d like part of the copy to be in bold. Unfortunately, as you can see in the picture, if I just put <strong> tags in the parameter they’re interpreted as text.

I know I could fix this by, for instance, having three parameters for ‘start of copy’, ‘bold bit’, ‘end of copy’, but I was hoping somebody here might have a cleaner solution, or an answer to the general problem of ‘what can go in a parameter’

Thanks!

You can use triple-curlies to avoid the html escaping, e.g. {{{parameterName}}}

https://handlebarsjs.com/guide/#html-escaping

1 Like