Custom Code from CMS field inside <head> Blog Template

Hello all,

I’m attempting to use a plain text field in a CMS collection to insert custom code in the of blog posts.

After publishing and checking the custom code, I’m seeing what I believe to be encoding errors.

I’m sure I’m missing something simple that causes this plain text field to be interpreted incorrectly. Any help is greatly appreciated.

Put the html link element inside the script block and only have the link value in the CMS. Webflow encodes html and JS code placed in a fields value.