Rendering a richtext metafield and keeping link titles?

Shopify Partner
4 0 1

My collections have a metafield for SEO text, this is a richtext field and I add titles to the links inside that text for SEO.


When I print that metafield to the front-end using:


{{ collection.metafields.custom.seo_text | metafield_tag }}


The links have no title attribute, despite them being there if I print that metafield as plain .json using:

{{ collection.metafields.custom.seo_text }}

Is there a way to fix this or is this a limitation from the side of Shopify?

Replies 0 (0)