Remove legacy span element with portlet id.
LPE-15088 Portlet anchors do not work properly while the portal property portlet.url.anchor.enable is set to true
LPS-43629 Remove legacy span element with portlet id