I'm having an issue with Markdown links in the instructions on a global. The system seems to be adding some sort of additional namespacing to the link.
Steps to reproduce
Create a field and add [Social Media](/admin/seomatic/site/social/default) to the instructions.
Add the field to a Global set
Expected behavior
When visiting the global page, it should output the following link code: <a href="/admin/seomatic/site/social/default">Social Media</a>
Actual behavior
Instead, I'm getting the following link code: <a href="fields-/admin/seomatic/site/social/default">Social Media</a>. For some reason it's adding that leading fields- to the href? It was suggested on Discord that this could be some sort of namespacing issue.
Just as a note, I want this to be a relative URL so that it is environment agnostic. I'm not sure if this same thing happens with a full URL or in any of the other field layouts besides globals (Entries, Assets etc.)
What happened?
Description
I'm having an issue with Markdown links in the instructions on a global. The system seems to be adding some sort of additional namespacing to the link.
Steps to reproduce
[Social Media](/admin/seomatic/site/social/default)
to the instructions.Expected behavior
<a href="/admin/seomatic/site/social/default">Social Media</a>
Actual behavior
Instead, I'm getting the following link code:
<a href="fields-/admin/seomatic/site/social/default">Social Media</a>
. For some reason it's adding that leadingfields-
to the href? It was suggested on Discord that this could be some sort of namespacing issue.Just as a note, I want this to be a relative URL so that it is environment agnostic. I'm not sure if this same thing happens with a full URL or in any of the other field layouts besides globals (Entries, Assets etc.)
Craft CMS version
4.0.3
PHP version
8.0.19
Operating system and version
macOS Catalina
Database type and version
MySQL 5.7.31
Image driver and version
GD 8.0.19
Installed plugins and versions