Using the HubSpot File Manager to host images on the HubSpot CMS content delivery network, and allow content creators to easily add files to content.
hs upload filemanager
command.f.hubspotusercontentXX.net
), use Content Type: text/plain
. This means web browsers will not render and evaluate the code.
If a user goes directly to an HTML file there it will display the HTML code itself to the user. To avoid this, you must serve these files from one of your connected domains instead of a HubSpot default domain.