statamic / seo-pro

An all-in-one site reporting, metadata wrangling, Open Graph managing, Twitter card making, sitemap generating, turn-key addon for Statamic.
https://statamic.com/addons/statamic/seo-pro
52 stars 36 forks source link

Field value saves @seo: prefix even when using Antlers #343

Open godismyjudge95 opened 1 month ago

godismyjudge95 commented 1 month ago

When saving a field value with Antlers value is being saved with a prefix of @seo: which causes any included Antlers to fail. You can manually edit the yaml and remove the prefix and that resolves the issue.

Relevant lines I found:

I placed a dd() call in the Cascade before the Antlers is parsed and that is how I found the @seo: prefix was still there.

jesseleite commented 1 month ago

In the CP, have you selected Field or Custom in the dropdown?

Could we see a screencast showing it happening in CP?