What's your biggest current challenge? Have your say in Community Polls along the right column.

Unable to set HTML anchor targets in policies

Unable to set HTML anchor targets in policies

NickHeath
Excursionist
11 1 3

My terms of service are quite long, so when I am directing a customer there I want to be able to link them to a specific section. To do this I am editing the terms as HTML and adding `id` fields to the headers. I am them using URL fragments to link to the sections. `/policies/terms-of-service#section-1`. These links are not working.

From inspecting the HTML output, it looks like all the `id` properties are being stripped from the output, even though they still exist on the admin dashboard editor page.

Is anyone able to confirm this behaviour, or have a workaround?

Alternatively, if there's anyone from Shopify, could you let me know whether this is a security feature, or a bug?

Replies 0 (0)