@Hubmonks I don't see anything in the HubSpot HubL Documentation, however, you could try the following filter which works in certain Jinja environments (hubl was originally based on jinja):
It most likely won't work but it's worth a shot. Otherwise, you could print the HubL string into a script tag and use the js function on the client side.
@Hubmonks I don't see anything in the HubSpot HubL Documentation, however, you could try the following filter which works in certain Jinja environments (hubl was originally based on jinja):
It most likely won't work but it's worth a shot. Otherwise, you could print the HubL string into a script tag and use the js function on the client side.