Hubspot escapes markup in the noscript tag

Hi
I have an include for the <head> that I’ve tried placing in both base.html and global page settings:
<noscript><img alt=“” src=“https://secure.intelligent-business-7.com/XXXX.png” style=“display:none;”></noscript>
But it is being rendered as this:
<noscript>

<

img alt=“” src=“https://secure.intelligent-business-7.com/XXXX.png” style=“display:none;”

>

</noscript>
Does anyone have a workround for this please?
Thanks!

Hey @DM2,

never seen this before so only assumptions.

Seems like there’s an escape_html happening somewhere somehow.

Try placing this code into the base.html (global won’t work):

{% set no_script_img = '<img src="https://secure.intelligent-business-7.com/XXXX.png" style="display:none;">' %}
...
<head>
...
{{ no_script_img }}
...
</head>

best,

Anton

Thanks Anton, for now I’ve moved it in to the <body> which gets round this.